import { EditorState } from '@codemirror/state'; export declare function isInvalidAtEnd(query: string): Promise; /** * Function that detemines if the autocomplete dropdown should be opened * * @param update - Information on the current changes from the update listener * @param state - EditorState * @returns true when the autocomplete should be opened */ export declare function openAutocomplete(update: { isTyping: boolean; isDeleting: boolean; isFocused: boolean; selectionChanged: boolean; }, state: EditorState): Promise;