import { ActionDispatch, RefObject } from 'react'; import { State } from './state'; import { Action } from './actions'; export type Handler = { refs: RefObject; state: State; dispatch: ActionDispatch<[Action]>; value: string; setValue: (value: string) => void; }; export declare function usePinField(): Handler;