declare enum Mode { Resting = 0, Open = 1 } type Action = { type: 'OPEN'; } | { type: 'CLOSE'; } | { type: 'SELECT'; payload: { value: string | string[]; }; } | { type: 'FOCUS'; payload: { value: string; }; }; interface UseSelectProps { value: string | string[] | undefined; defaultValue: string | string[] | undefined; } export declare const useSelect: ({ value, defaultValue }: UseSelectProps) => { state: { value: string | string[] | undefined; focused: string | undefined; mode: Mode; }; dispatch: import("react").ActionDispatch<[action: Action]>; Mode: typeof Mode; selectRef: import("react").RefObject; buttonRef: import("react").RefObject; }; export {};