import { ForwardedRef, MutableRefObject } from 'react'; export interface FormComponentRef { getValue: () => any; setValue: (value: any) => void; focus?: () => void; blur?: () => void; } export type FormMethods = FormComponentRef; export declare const useFormMethods: (ref: ForwardedRef | MutableRefObject, value: any, setValue: (value: any) => void, fieldName?: string, formWrapper?: FormInstance, inputRef?: React.RefObject, exposedMethods?: { [key: string]: () => void; }) => FormMethods;