import type { FieldValues, UseFormProps, UseFormReturn } from '../types'; /** * Custom hook to manage the entire form. * * @remarks * [API](https://reacty-form.com/docs/useform) * * @param props - form configuration and validation parameters. * * @returns methods - individual functions to manage the form state. {@link UseFormReturn} * * @example * ```tsx * function App() { * const { register, handleSubmit, formState: { errors } } = useForm(); * const onSubmit = data => console.log(data); * * return ( *
* * * {errors.exampleRequired && This field is required} * *
* ); * } * ``` */ export declare function useForm(props?: Readonly>): UseFormReturn; //# sourceMappingURL=use-form.hook.d.ts.map