import * as React from "react"; import { ControllerProps, FieldPath, FieldValues } from "react-hook-form"; import { Label } from "./label"; declare const Form: (props: import("react-hook-form").FormProviderProps) => React.JSX.Element; declare const FormField: = FieldPath>({ ...props }: ControllerProps) => import("react/jsx-runtime").JSX.Element; 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; }; declare const FormItem: React.ForwardRefExoticComponent & React.RefAttributes>; interface FormLabelProps extends React.ComponentPropsWithoutRef { required?: boolean; } declare const FormLabel: React.ForwardRefExoticComponent>; declare const FormControl: React.ForwardRefExoticComponent & React.RefAttributes>; declare const FormDescription: React.ForwardRefExoticComponent & React.RefAttributes>; declare const FormMessage: React.ForwardRefExoticComponent & React.RefAttributes>; export { useFormField, Form, FormItem, FormLabel, FormControl, FormDescription, FormMessage, FormField, }; //# sourceMappingURL=form.d.ts.map