import { FieldError } from 'react-hook-form'; interface FieldProps { name: string; defaultValue?: V; disabled?: boolean; autoFocus?: boolean; shouldUnregister?: boolean; validateOnMount?: boolean; } export declare function useField({ name, defaultValue, disabled, autoFocus, shouldUnregister, validateOnMount, }: FieldProps): { value: V; invalid: boolean; error: string; onChange: (...event: any[]) => void; onBlur: import('react-hook-form').Noop; disabled?: boolean; name: string; ref: import('react-hook-form').RefCallBack; }; type FieldState = { invalid: boolean; isDirty: boolean; isTouched: boolean; isValidating: boolean; error?: FieldError; }; export declare function useFieldState(field: string): FieldState; export declare function useFieldState(field: string[]): FieldState[]; export {};