import type { PropsWithChildren } from 'react'; import type { UseFormReturn, FieldValues } from 'react-hook-form'; interface FormProviderProps extends PropsWithChildren { value: UseFormReturn; } export declare function useFormContext(): UseFormReturn; export declare function useFormContextOptional(): UseFormReturn | null; export declare function useIsInsideFormProvider(): boolean; export declare function useAvailableFormInstance(): UseFormReturn | null; export declare function registerFormInstance(instance: UseFormReturn, key?: string): void; export declare function unregisterFormInstance(key?: string): void; export declare function getFormInstance(key?: string): UseFormReturn | null; export declare const FormProvider: ({ value, children }: FormProviderProps) => import("react/jsx-runtime").JSX.Element; export {}; //# sourceMappingURL=context.d.ts.map