import { Control, FieldValues, UseFormReset } from 'react-hook-form'; /** * Defines the properties for the `useFormReset` hook. */ export type UseFormResetProps = { /** The control object from react-hook-form. */ control?: Control; }; /** * Defines the result type of the `useFormReset` hook. */ export type UseFormResetResult = UseFormReset; /** * Hook to provide a function to reset the form fields. * * This hook returns a `reset` function that can be used to reset the form values to their default state or to a specific set of values. * If a `control` object is provided, it will be used; otherwise, the `control` from the form context will be used. * * @param {UseFormResetProps} props - The properties for the form reset hook. * @param {Control} [props.control] - The control object from react-hook-form. If not provided, the control from the form context will be used. * @returns {UseFormResetResult} The `reset` function to reset the form values. */ export declare function useFormReset(props: UseFormResetProps): UseFormResetResult;