import type { App, AutocompleteProvider, InputView } from "./renderer.js"; export interface AutocompleteController { /** Re-query suggestions for the current input. Call from the input's onChange. */ refresh(): void; } /** * Substrate-owned autocomplete: the renderer only draws a SelectView in `belowInput`, so * the popup behaves identically in any renderer instead of living inside one editor. */ export declare function createAutocompleteController(opts: { app: App; input: InputView; provider: AutocompleteProvider; suppressed: () => boolean; }): AutocompleteController;