import { EditorState } from '@codemirror/state'; import type { FilterFieldSuggestionProps } from '../suggestions/Suggestion.js'; import type { _FilterFieldSuggestionsContext } from '../suggestions/suggestions-extension.js'; /** @internal */ export declare function getSuggestionTransaction(suggestionValue: string, trailing: string | undefined, insertionStrategy: FilterFieldSuggestionProps['insertionStrategy'], cursorBeforeTrailing: boolean | undefined, suggestionsContext: _FilterFieldSuggestionsContext, editorState: EditorState): { changes: { insert: string; from: number; to: number; }; selection: { anchor: number; }; }; /** * Check if the next node after cursor position contains an opening bracket. * @internal */ export declare function _isFollowedByOpeningBracket(editorState: EditorState, head: number): boolean;