import type { EditorState } from '@codemirror/state'; import type { SyntaxNodeRef, Tree, TreeCursor } from '@lezer/common'; /** @internal */ export declare function getStatementCursorAtPosition(cursorPosition: number, editorState: EditorState): TreeCursor; /** * Check whether the statement at the cursor position has a next statement. * Also returns true, if the current statement is only followed by a space. * @internal */ export declare function hasNextStatement(cursorPosition: number, editorState: EditorState): boolean; /** * Check whether the node is inside a Bracket/Group. * @internal */ export declare function isCursorInsideGroup(editorState: EditorState, cursorPosition: number): boolean; /** * Check whether the node at the cursor position has a next sibling. * @internal */ export declare function hasNextSibling(cursorPosition: number, editorState: EditorState, options?: { ignorePositionOperators?: boolean; }): boolean; /** @internal */ export declare function hasTrailingSpace(doc?: string, node?: SyntaxNodeRef): boolean; /** @internal */ export declare function getPositionOperators(node: SyntaxNodeRef, tree: Tree): { startsWithOperator: boolean; endsWithOperator: boolean; }; /** @internal */ export declare function getPositionOperatorsInString(value: string): { hasEndsWithOperator: boolean; hasStartsWithOperator: boolean; };