import type { AutocompleteProvider, AutocompleteSuggestions } from "./renderer.js"; import type { EventBus } from "agent-sh/event-bus"; /** Adapt pi-tui's AutocompleteProvider to agent-sh's autocomplete:request pipe. * Reads the line up to the cursor, asks the bus for suggestions, returns them. */ export declare class BusAutocompleteProvider implements AutocompleteProvider { private bus; constructor(bus: EventBus); getSuggestions(lines: string[], cursorLine: number, cursorCol: number): Promise; }