import { Ref } from 'vue';
export declare const FORM_STATE_KEY: unique symbol;
export interface BagelFormState<T> {
    data: Ref<T>;
    getFieldData: (path?: string) => any;
    updateField: (path: string, value: any) => void;
    isDirty: Ref<boolean>;
}
export declare function provideBagelFormState<T>(initialData: T): BagelFormState<T>;
export declare function useBagelFormState<T>(injectionKey?: typeof FORM_STATE_KEY): BagelFormState<T>;
//# sourceMappingURL=useBagelFormState.d.ts.map