/** * The one table of what each key does where (operator-console/AC-14, * operator-console/AC-28). The key bar and `?` help are both read from here, so the * bar can never offer a key the help does not explain. * * Pure. * * @module */ import type { OperatorData, PanelId, UiState } from './model.js'; type Pair = readonly [string, string]; export interface KeyRow { key: string; label: string; /** Where it works: a panel, the whole dashboard, or the drawer. */ where: PanelId | 'dashboard' | 'drawer'; /** Whether the key bar shows it now. */ shown(ui: UiState, data: OperatorData): boolean; } export declare const KEYMAP: readonly KeyRow[]; /** What `?` shows: every key, by where it works (operator-console/AC-28). */ export declare function helpLines(): string[]; /** The key bar for where the user is now (operator-console/AC-14). */ export declare function keyBar(ui: UiState, data: OperatorData): Pair[]; export {}; //# sourceMappingURL=keymap.d.ts.map