<?php

namespace App\Contracts;

use Mtc\ContentManager\Contracts\ContentElement;
use Mtc\ContentManager\Contracts\ModelWithContent;
use Mtc\ContentManager\Contracts\VersionModel;

interface AbleToSyncContentElements
{
    public function isContentElementInSync(ModelWithContent $model, ContentElement $element): bool;
    public function syncContentWithTemplate(int $entry_id, bool $new_version_active = false): ?VersionModel;

    public function syncSpecificElement(int $page_id, ContentElement $element): void;
}
