import { type InputCoreState } from './input-core.js'; import type { AutocompleteState } from './input/autocomplete-state.js'; import type { IHistoryRing } from './input/types.js'; import type { SuggestContext, SuggestEngine } from './terminal-compositor.types.js'; export declare const MAX_DROPDOWN_ROWS = 6; export interface AutocompleteHost { readonly autocompleteState?: AutocompleteState; input: InputCoreState; activeGhost: string | null; ghostPaused: boolean; readonly ghostEngine: SuggestEngine | undefined; readonly ghostGetContext: (() => SuggestContext) | undefined; readonly history?: IHistoryRing; repaint(): void; } export declare function updateAutocomplete(self: AutocompleteHost): void; export declare function applyDropdownSelection(self: AutocompleteHost): boolean;