/** * Google Sheets–style keyboard matchers. * - Letters / digits / F-keys: physical `code` * - Punctuation (docs show characters): `code` + `key` + modifiers */ export declare function hasMod(e: KeyboardEvent): boolean; /** * Insert date — Cmd/Ctrl+; (Google Sheets). * Match on typed `;` character (AZERTY often uses Shift+, → code Comma). * US QWERTY: physical Semicolon key without shift. */ export declare function isInsertDateShortcut(e: KeyboardEvent): boolean; /** * Insert time — Cmd/Ctrl+Shift+; (Google Sheets). * US QWERTY: Shift+; → key ":" code Semicolon. * AZERTY (runtime): Cmd+Shift+; → code Comma with key "." or ","; Cmd+Shift+. → code Period with key "/" or ".". */ export declare function isInsertTimeShortcut(e: KeyboardEvent): boolean; /** Google Mac: ⌘+Option+Shift+; — insert date and time (AZERTY-safe). */ export declare function isInsertDateTimeShortcut(e: KeyboardEvent): boolean; /** * US / EU: Cmd/Ctrl+Shift+" — insert date and time. * Mac AZERTY: `"` is Shift+3, but ⌘+Shift+3 is macOS screenshot (never reaches the page). * Use ⌘+Option+Shift+3/; or Ctrl+Shift+3 instead (Google Mac alternates). */ export declare function isUsInsertDateTimeQuoteShortcut(e: KeyboardEvent): boolean; export declare function isPlainTextFormatShortcut(e: KeyboardEvent): boolean; /** * Strikethrough — Google Sheets: * Mac: Cmd+Shift+X, Ctrl+Option+Shift+5 * Win: Alt+Shift+5, Ctrl+Shift+X */ export declare function isStrikethroughShortcut(e: KeyboardEvent): boolean; /** Google / dSheets: Cmd+Option+M (Mac), Ctrl+Alt+M (Win). AZERTY M-key slot. */ export declare function isInsertCommentShortcut(e: KeyboardEvent): boolean; /** Google Sheets: Cmd/Ctrl+A — select all. AZERTY types "a" on physical KeyQ. */ export declare function isSelectAllShortcut(e: KeyboardEvent): boolean; /** * Number formats — Google Mac: Ctrl+Shift+1–6; also Cmd/Ctrl+Shift+1–6. */ export declare function isNumberFormatModifier(e: KeyboardEvent): boolean; export declare function isDigitFormatKey(e: KeyboardEvent, digit: string): boolean; /** Ctrl/Cmd+Shift+1–6 — number format (TEC-2311 §8). */ export declare function isNumberFormatShortcut(e: KeyboardEvent): boolean; /** * Formula list — Ctrl/Cmd+Shift+) (Google Sheets). * US: Shift+0 → ")"; AZERTY: Shift+5 → ")". */ export declare function isFormulaListShortcut(e: KeyboardEvent): boolean; export declare function isFindShortcut(e: KeyboardEvent): boolean; export declare function isFindReplaceShortcut(e: KeyboardEvent): boolean; /** * Browser page zoom (Cmd/Ctrl + +/−). Never intercept — sheet has no keyboard zoom. * Match by physical `code` and by AZERTY-remapped `key` values. */ export declare function isBrowserZoomShortcut(e: KeyboardEvent): boolean; /** * Open shortcuts modal. * Win: Ctrl+/. Mac/AZERTY: Option+/ or Option+: (WY). US fallback: Cmd+/. */ export declare function isOpenShortcutsModalShortcut(e: KeyboardEvent): boolean; /** Label which engine shortcut would match (best-effort; for host debug tooling). */ export declare function describeMatchedShortcut(e: KeyboardEvent): string | null;