1 | import { KeyCollection, Event } from '../modules/shortcuts';
|
2 | export declare const isMacLike: () => boolean;
|
3 | export declare const controlOrMetaSymbol: () => "⌘" | "ctrl";
|
4 | export declare const controlOrMetaKey: () => "meta" | "control";
|
5 | export declare const optionOrAltSymbol: () => "⌥" | "alt";
|
6 | export declare const isShortcutTaken: (arr1: string[], arr2: string[]) => boolean;
|
7 | export declare const eventToShortcut: (e: KeyboardEvent) => KeyCollection | null;
|
8 | export declare const shortcutMatchesShortcut: (inputShortcut: KeyCollection, shortcut: KeyCollection) => boolean;
|
9 | export declare const eventMatchesShortcut: (e: Event, shortcut: KeyCollection) => boolean;
|
10 | export declare const keyToSymbol: (key: string) => string;
|
11 | export declare const shortcutToHumanString: (shortcut: KeyCollection) => string;
|