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