/**
 * Generic selector component for extensions.
 * Displays a list of options with optional descriptions and keyboard navigation.
 */
import { Container, type SelectItem, type TUI } from '../../../tui/index.js';
export interface ExtensionSelectorOptions {
    tui?: TUI;
    timeout?: number;
}
type ExtensionSelectorItem = SelectItem;
export declare class ExtensionSelectorComponent extends Container {
    private options;
    private selectedIndex;
    private listContainer;
    private descriptionContainer;
    private onSelectCallback;
    private onCancelCallback;
    private titleText;
    private baseTitle;
    private countdown;
    constructor(title: string, options: string[] | ExtensionSelectorItem[], onSelect: (option: string) => void, onCancel: () => void, opts?: ExtensionSelectorOptions);
    private updateList;
    handleInput(keyData: string): void;
    dispose(): void;
}
export {};
//# sourceMappingURL=extension-selector.d.ts.map