export interface Suggestion { name: string; description?: string; } /** Filter to matches and rank by relevance score (desc). */ export declare function fuzzyFilter(items: Suggestion[], query: string): Suggestion[]; /** * Fuzzy suggestion dropdown rendered above the prompt. Caller owns selection * state and key handling (Tab/arrows/Esc in `prompt-area`); this is pure view. * * The list is windowed: only MAX_VISIBLE rows render, and the window follows * `selectedIndex` (clamped) so ↑/↓ scroll through every match — not just the * first page. Count hints show how many are hidden above/below. */ export declare function Autocomplete({ suggestions, selectedIndex, prefix, }: { suggestions: Suggestion[]; selectedIndex: number; prefix: '/' | '@'; }): import("react").JSX.Element | null;