/** * Parses the small `"command,shift,R"`-style shortcut spec used by a context * menu item's `shortcut` field into: * - a muda-compatible `accelerator` string (for the native menu label), and * - a `matches(e)` predicate (for firing the action straight off a * `keydown`, without the menu ever opening). * * Pure and dependency-free — no DOM access beyond an optional `navigator` * read, so it's safe to unit test outside a browser. */ export declare function parseShortcut(spec: string): { accelerator: string; matches: (e: KeyboardEvent) => boolean; }; //# sourceMappingURL=shortcut.d.ts.map