import BaseFoundation, { DefaultAdapter } from '../base/foundation'; export interface HotKeysAdapter

, S = Record> extends DefaultAdapter { notifyHotKey: (e: KeyboardEvent) => void; registerEvent: () => void; unregisterEvent: () => void; } export default class HotKeysFoundation

, S = Record> extends BaseFoundation, P, S> { constructor(adapter: HotKeysAdapter); init(): void; isValidHotKeys: (hotKeys: string[]) => boolean; handleKeyDown: (event: KeyboardEvent) => void; destroy(): void; }