import { FieldValues, KeepStateOptions, UseFormReturn } from 'react-hook-form'; import { FormDescription as BaseFormDescription, FormMessage as BaseFormMessage } from '../ui/form'; import * as React from 'react'; export interface FormProviderProps extends Omit, 'handleSubmit' | 'reset'> { children: React.ReactNode; handleSubmit: (e?: React.BaseSyntheticEvent) => Promise; reset: (values?: T, keepStateOptions?: KeepStateOptions) => void; } export declare const useFormField: () => { invalid: boolean; isDirty: boolean; isTouched: boolean; isValidating: boolean; error?: import('react-hook-form').FieldError; id: string; name: string; formItemId: string; formDescriptionId: string; formMessageId: string; }; export declare const FormLabel: React.ForwardRefExoticComponent & React.RefAttributes>; export declare const FormControl: React.ForwardRefExoticComponent & React.RefAttributes>; export declare const FormDescription: { (props: React.ComponentPropsWithoutRef): import("react/jsx-runtime").JSX.Element; displayName: string; }; export declare const FormMessage: { (props: React.ComponentPropsWithoutRef): import("react/jsx-runtime").JSX.Element; displayName: string; }; //# sourceMappingURL=form.d.ts.map