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 ( *
* ); * } * ``` */ export declare function useForm