/** * SearchableSelectList — a SelectList with a search input above it. * * pi-tui removed `SelectList.searchable`; filtering is now composed manually * (the same pattern pi's own model/theme selectors use): route navigation * keys to the SelectList and everything else to an Input whose value drives * `setFilter()`. */ import { SelectList, type Component, type SelectItem, type SelectListTheme } from '@earendil-works/pi-tui'; export declare class SearchableSelectList implements Component { private container; private searchInput; private readonly maxVisible; private readonly theme; selectList: SelectList; onSelect?: (item: SelectItem) => void; onCancel?: () => void; /** Current filter text — lets hosts gate action keys (e.g. bare `c`) so they don't eat type-to-filter keystrokes. */ get filterValue(): string; constructor(items: SelectItem[], maxVisible: number, theme: SelectListTheme); setItems(items: SelectItem[]): void; render(width: number): string[]; invalidate(): void; handleInput(keyData: string): void; }