type ModifierKey = '⌘' | 'CTRL'; export declare function isMac(): boolean; export declare const MODIFIER_KEY: ModifierKey; export declare function getHotkeyText(hotkey: string): string; /** * The key-matching handler reads `event.key.toLowerCase()` with no guard, so a * key event whose `key` is missing throws a TypeError out of our key * listeners. Some browser extensions and password managers dispatch synthetic * key events with no `key`, so wrap the handler to ignore those; real * keystrokes always carry a `key`. */ export declare const ignoreKeylessEvents: (handle: (event: KeyboardEvent) => void) => (event: KeyboardEvent) => void; export {};