import { type CompletionItem, type CompletionItemGroup } from '../../types/completion'; interface Props { origin: string; groupedItems: CompletionItemGroup[]; prefix?: string; menuRef?: (el: TypeaheadMenu) => void; onSelectSuggestion?: (suggestion: CompletionItem) => void; isOpen?: boolean; } /** Imperative handle exposed via the `menuRef` prop so the keyboard plugin can drive the menu. */ export interface TypeaheadMenu { moveMenuIndex: (moveAmount: number) => void; insertSuggestion: () => void; } export declare function Typeahead({ prefix, isOpen, groupedItems, menuRef, onSelectSuggestion }: Props): import("react").JSX.Element; export {};