import type { CompletionContext } from "@codemirror/autocomplete"; import type { Text } from "@codemirror/state"; export declare function getPos(context: CompletionContext): { text: string; line: number; pos: number; }; export declare function isFirstWord(line: string, pos: number): boolean; export declare function getLines(doc: Text): string[];