import { FieldError, FieldValues, useForm, UseFormWatch } from "react-hook-form"; type FormMethods = ReturnType>; export interface EventHandlerFormControls { setValue: FormMethods['setValue']; getValues: FormMethods['getValues']; watch?: UseFormWatch; reset?: (values?: any, options?: Record) => void; trigger: (name?: string | string[]) => Promise; setError?: (name: string, error: FieldError, options?: { shouldFocus?: boolean; }) => any; clearErrors?: (name?: string | string[]) => void; [key: string]: any; } export {};