import type { MutableRefObject } from 'react'; import type { FieldValidator } from 'final-form'; export declare type Validators = Record>; export declare type FormContextProps = { getValidators: () => Validators; setValidators: (fieldName: string, validator: FieldValidator) => void; clearValidators: (fieldName: string) => void; }; export declare const createFormContext: () => FormContextProps; export declare const FormContext: import("react").Context | null>; export declare const useFormContext: () => FormContextProps; //# sourceMappingURL=FormContext.d.ts.map