import * as React from "react"; import * as LabelPrimitive from "@radix-ui/react-label"; import { ControllerProps, FieldPath, FieldValues } from "react-hook-form"; import { Nullable } from "../../types/general"; 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 Form: { Root: (props: import("react-hook-form").FormProviderProps) => React.JSX.Element; Item: React.ForwardRefExoticComponent & React.RefAttributes>; Label: React.ForwardRefExoticComponent, "ref"> & React.RefAttributes>; Control: React.ForwardRefExoticComponent, "ref"> & React.RefAttributes>; Description: React.ForwardRefExoticComponent, "children"> & { text: Nullable; } & React.RefAttributes>; Field: = FieldPath>({ ...props }: ControllerProps) => import("react/jsx-runtime").JSX.Element; Message: React.ForwardRefExoticComponent & React.RefAttributes>; }; //# sourceMappingURL=Form.d.ts.map