import type { KeyboardEvent } from 'react'; import type { KbsInternalShortcut, KbsKeyDefinition } from '../types.ts'; export interface Modifiers { ctrl?: boolean; shift?: boolean; alt?: boolean; } export declare function shortcutToKeys(shortcut: KbsInternalShortcut): readonly string[]; export declare function shortcutObjectToKey(shortcut: KbsKeyDefinition): string[]; export declare function eventToKeyOrCode(event: KeyboardEvent | globalThis.KeyboardEvent): { key: string; code: string; }; //# sourceMappingURL=make_key.d.ts.map