import React from 'react'; import { FieldValues, FormProps } from './types'; /** * Form component to manage submission. * * @param props - to setup submission detail. {@link FormProps} * * @returns form component or headless render prop. * * @example * ```tsx * function App() { * const { control, formState: { errors } } = useForm(); * * return ( *
* *

{errors?.root?.server && 'Server error'}

* *
* ); * } * ``` */ declare function Form(props: FormProps): React.JSX.Element; export { Form }; //# sourceMappingURL=form.d.ts.map