import type { Ref } from 'vue';
/** Provide the form-wide readonly flag. Called once at the top-level form. */
export declare function provideFormReadonly(readonly: Ref<boolean>): void;
/**
 * Inject the form-wide readonly flag. Falls back to a never-readonly ref when
 * a field is mounted outside a form host.
 */
export declare function useFormReadonly(): Ref<boolean>;
