import * as react_jsx_runtime from 'react/jsx-runtime'; import * as react_hook_form from 'react-hook-form'; import { FieldValues, FieldPath, ControllerProps } from 'react-hook-form'; import * as React from 'react'; import { Slot } from 'radix-ui'; import { Label } from './label.js'; declare const Form: (props: react_hook_form.FormProviderProps) => React.JSX.Element; declare function FormField = FieldPath>({ ...props }: ControllerProps): react_jsx_runtime.JSX.Element; declare function useFormField(): { invalid: boolean; isDirty: boolean; isTouched: boolean; isValidating: boolean; error?: react_hook_form.FieldError; id: string; name: string; formItemId: string; formDescriptionId: string; formMessageId: string; }; declare function FormItem({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element; declare function FormLabel({ className, ...props }: React.ComponentProps): react_jsx_runtime.JSX.Element; declare function FormControl({ ...props }: React.ComponentProps): react_jsx_runtime.JSX.Element; declare function FormDescription({ className, ...props }: React.ComponentProps<"p">): react_jsx_runtime.JSX.Element; declare function FormMessage({ className, children, ...props }: React.ComponentProps<"p">): react_jsx_runtime.JSX.Element | null; export { Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, useFormField };