import { EditorState } from '@codemirror/state'; /** * Checks whether the query is invalid at the end. * * @param query - The query string to check * @returns A promise that resolves to true if the query is invalid at the end, false otherwise */ export declare function isInvalidAtEnd(query: string): Promise; /** * Determines 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;