import * as react_jsx_runtime from 'react/jsx-runtime'; import * as _radix_ui_react_slot from '@radix-ui/react-slot'; import * as react from 'react'; import * as react_hook_form from 'react-hook-form'; import { FieldValues, UseFormProps as UseFormProps$1, UseFormReturn, FieldPath, ControllerProps } from 'react-hook-form'; export * from 'react-hook-form'; import { Schema } from 'zod'; import { LabelProps } from './label.js'; import '@radix-ui/react-label'; type UseFormProps = Omit, "resolver"> & { schema: Schema; defaultValues: Required["defaultValues"]>; }; declare function useForm(props: UseFormProps): UseFormReturn; declare const Form: ((props: react_hook_form.FormProviderProps) => react.JSX.Element) & { Item: react.ForwardRefExoticComponent & react.RefAttributes>; Label: react.ForwardRefExoticComponent & react.RefAttributes>; Control: react.ForwardRefExoticComponent, "ref"> & react.RefAttributes>; Description: react.ForwardRefExoticComponent & react.RefAttributes>; Message: react.ForwardRefExoticComponent & react.RefAttributes>; Field: = FieldPath>({ ...props }: ControllerProps) => react_jsx_runtime.JSX.Element; }; export { Form, UseFormProps, useForm };