import * as React from 'react'; import { type FieldValues, type SubmitHandler, type UseFormReturn } from 'react-hook-form'; type FormProps = Omit, 'onSubmit'> & { form: UseFormReturn; onSubmit?: SubmitHandler; }; declare function FormRoot({ className, form, onSubmit, ...props }: FormProps): React.JSX.Element; export { FormRoot }; export type { FormProps }; //# sourceMappingURL=FormRoot.d.ts.map