/** * ChromeContext * * Provides UI "chrome" state — commands, keyboard features, logs, and * notifications. These are the cross-cutting surfaces between user input * and feedback. * * @since v2.11.0 */ import { type ReactNode } from 'react'; import type { UICommand } from '../../commands/index.js'; import type { AccessibilityConfig, ChordDefinition } from '../../keyboard/index.js'; import type { LogEntry } from '../../views/LogsView.js'; export interface ChromeContextValue { filteredCommands: UICommand[]; handleCommandExecute: (command: UICommand) => void; commands: UICommand[]; keyboardFeatures: { getAccessibilityConfig: () => AccessibilityConfig; updateAccessibilityConfig: (config: Partial) => void; state: { recordingRegister: string | null; }; playRegister: (register: string) => Promise; }; chordMode: { getChords: () => ChordDefinition[]; }; logs: LogEntry[]; logsLoading: boolean; loadLogs: () => void; debugEnabled: boolean; addNotification: (type: 'success' | 'error' | 'warning' | 'info', message: string, options?: { title?: string; duration?: number; }) => void; success: (message: string) => void; } export declare function ChromeProvider({ children, value }: { children: ReactNode; value: ChromeContextValue; }): React.ReactElement; export declare function useChromeContext(): ChromeContextValue; //# sourceMappingURL=chrome-context.d.ts.map