<?php

declare(strict_types=1);

namespace App\Filament\Contracts;

use Illuminate\Database\Eloquent\Model;

/**
 * Declares whether the main resource form on the Filament edit page has any savable input.
 * Used to hide the save action and keyboard-save hint when the page is effectively read-only.
 */
interface DberpFilamentFormEditability
{
    public static function isRecordFormEditableForFilament(Model $record): bool;
}
