export declare function parseHotkey(spec: string): (e: KeyboardEvent) => boolean;