import { Control, FieldValues, UseFormSetFocus } from 'react-hook-form'; /** * Defines the properties for the `useFormSetFocus` hook. */ export type UseFormSetFocusProps = { /** The control object from react-hook-form. */ control?: Control; }; /** * Defines the result type of the `useFormSetFocus` hook. */ export type UseFormSetFocusResult = UseFormSetFocus; /** * Hook to provide a function to focus the form field. * * @param {UseFormSetFocusProps} props - The properties for the form setFocus 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 {UseFormSetFocusResult} The `setFocus` function to set the focus on field. */ export declare function useFormSetFocus(props: UseFormSetFocusProps): UseFormSetFocusResult;