import * as react from "react"; import * as react_jsx_runtime0 from "react/jsx-runtime"; import { Slot } from "@radix-ui/react-slot"; import * as LabelPrimitive from "@radix-ui/react-label"; import * as react_hook_form0 from "react-hook-form"; import { ControllerProps, FieldPath, FieldValues } from "react-hook-form"; //#region src/react/ui/form.d.ts /** Form context provider using react-hook-form */ declare const Form: (props: react_hook_form0.FormProviderProps) => react.JSX.Element; /** Controlled field component for react-hook-form integration */ declare const FormField: = FieldPath>({ ...props }: ControllerProps) => react_jsx_runtime0.JSX.Element; declare const useFormField: () => { invalid: boolean; isDirty: boolean; isTouched: boolean; isValidating: boolean; error?: react_hook_form0.FieldError; id: string; name: string; formItemId: string; formDescriptionId: string; formMessageId: string; }; /** Container for a single form field with label and messages */ declare function FormItem({ className, ...props }: react.ComponentProps<"div">): react_jsx_runtime0.JSX.Element; /** Label for a form field with error state styling */ declare function FormLabel({ className, ...props }: react.ComponentProps): react_jsx_runtime0.JSX.Element; /** Wrapper for form control elements with accessibility attributes */ declare function FormControl({ ...props }: react.ComponentProps): react_jsx_runtime0.JSX.Element; /** Helper text providing guidance for a form field */ declare function FormDescription({ className, ...props }: react.ComponentProps<"p">): react_jsx_runtime0.JSX.Element; /** Validation error message for a form field */ declare function FormMessage({ className, ...props }: react.ComponentProps<"p">): react_jsx_runtime0.JSX.Element | null; //#endregion export { Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, useFormField }; //# sourceMappingURL=form.d.ts.map