export type Modifier = "ctrl" | "shift" | "alt" | "meta" | "cmd"; export type KeyEvent = "keydown" | "keyup"; export type HandlerFn = (event: KeyboardEvent) => void; export interface ShortcutOptions { scope?: string; event?: KeyEvent; preventDefault?: boolean; once?: boolean; } export interface Binding { id: string; shortcut: string | string[]; handler: HandlerFn; options: Required; } export interface ParsedKey { key: string; modifiers: Set; } export interface ScopeState { name: string; active: boolean; override: boolean; } //# sourceMappingURL=types.d.ts.map