import { Container } from "@gajae-code/tui"; export interface CommandPaletteAction { id: string; label: string; handler: () => void | Promise; } export interface CommandPaletteEntry { id: string; label: string; description?: string; category?: string; keybinding?: string; bindingHint?: string; searchText?: string; handler?: () => void | Promise; disabled?: boolean; } export declare class CommandPaletteComponent extends Container { #private; constructor(entries: CommandPaletteEntry[], onSelect: (entry: CommandPaletteEntry) => void, onCancel: () => void); render(width: number): string[]; handleInput(data: string): void; getEntries(): readonly CommandPaletteEntry[]; } /** Backward-compatible name retained for extensions and existing call sites. */ export declare class CommandPalette extends CommandPaletteComponent { }