import type { InputCoreState } from './input-core.js'; import type { AutocompleteState } from './input/autocomplete-state.js'; import type { SubmissionPayload } from './terminal-compositor.types.js'; export interface RenderHost { readonly queued: boolean; readonly pendingSubmissions: readonly SubmissionPayload[]; readonly input: InputCoreState; readonly caretVisible?: boolean; readonly activeGhost: string | null; readonly autocompleteState?: AutocompleteState; readonly formatInputBuffer?: (segment: string) => string; readonly promptTextFn: (buffer: string) => string; readonly stdout: NodeJS.WriteStream; } export declare function renderInputLine(self: RenderHost): string; export declare function renderDropdownRows(self: RenderHost): string[]; export declare function renderHintRow(self: RenderHost): string | null;