/** * Generic selector component for extensions. * Displays a list of string options with keyboard navigation. * [WHO]: ExtensionSelectorOptions, ExtensionSelectorComponent * [FROM]: @catui/tui, theme and selected-row presentation * [TO]: Consumed by modes/interactive/components/index.ts, modes/interactive/controllers/extension-ui/prompt-host.ts * [HERE]: modes/interactive/components/extension-selector.ts - owned by modes/interactive/AGENT.md */ import { Container, type Focusable, type TUI } from "@catui/tui"; export interface ExtensionSelectorOptions { tui?: TUI; timeout?: number; } export declare class ExtensionSelectorComponent extends Container implements Focusable { render(width: number): string[]; private options; private selectedIndex; private listContainer; private onSelectCallback; private onCancelCallback; private titleText; private baseTitle; private countdown; private _focused; get focused(): boolean; set focused(value: boolean); constructor(title: string, options: string[], onSelect: (option: string) => void, onCancel: () => void, opts?: ExtensionSelectorOptions); private updateList; handleInput(keyData: string): void; dispose(): void; }