import { KeyCode } from '../../utils/types/KeyCode'; export type KeyHandlers = Partial void>> & { [key: string]: (e: KeyboardEvent) => void; }; export type EventType = 'keyup' | 'keydown'; export declare const useGlobalKeys: (keyHandlers: KeyHandlers, eventType?: EventType) => void;