/** * Command Palette - Searchable command interface * Part of TASKSET 18 implementation for advanced editor features */ import React from 'react'; interface CommandAction { id: string; name: string; description?: string; category?: string; keybinding?: string; handler: () => void | Promise; } interface CommandRegistry { register: (command: CommandAction) => void; bindShortcut: (commandId: string, keys: string, platform?: string) => void; execute: (commandId: string) => Promise; getAll: () => CommandAction[]; getByCategory: (category: string) => CommandAction[]; search: (query: string) => CommandAction[]; get: (commandId: string) => CommandAction | undefined; unregister: (commandId: string) => void; subscribe: (callback: () => void) => () => void; } interface CommandHistory { add: (command: CommandAction) => void; getRecent: (limit?: number) => CommandAction[]; clear: () => void; getAll: () => CommandAction[]; } interface CommandPaletteProps { isOpen: boolean; onClose: () => void; registry: CommandRegistry; history?: CommandHistory; placeholder?: string; maxResults?: number; onCommandExecuted?: (command: CommandAction) => void; } /** * CommandPalette component provides a searchable command interface * with keyboard navigation, fuzzy search, and execution tracking. * * Features: * - Real-time fuzzy search across command registry * - Keyboard navigation (arrows, enter, escape) * - Recent commands tracking and quick access * - Command categories and grouping * - Dynamic result rendering with fuzzy match highlighting */ export declare const CommandPalette: React.FC; export default CommandPalette; //# sourceMappingURL=CommandPalette.d.ts.map