import { Container, type Focusable, type TUI } from "@earendil-works/pi-tui"; import type { KeybindingsManager } from "../../core/keybindings.ts"; import type { Theme } from "../../modes/interactive/theme/theme.js"; import type { HuggingFaceModel } from "./huggingface.js"; export declare class HuggingFaceSearch extends Container implements Focusable { private readonly tui; private readonly theme; private readonly keybindings; private readonly search; private readonly cache; private readonly onSelectModel; private readonly input; private readonly resultsContainer; private results; private filteredResults; private selectedIndex; private query; private status; private debounce; private request; private closed; private _focused; constructor(tui: TUI, theme: Theme, keybindings: KeybindingsManager, search: (query: string, signal: AbortSignal) => Promise, cache: Map, onSelectModel: (model: string | undefined) => void); get focused(): boolean; set focused(value: boolean); private updateResults; private filterResults; private scheduleSearch; private runSearch; private close; handleInput(data: string): boolean; } //# sourceMappingURL=huggingface-ui.d.ts.map