import type { EditorState, Text } from '@codemirror/state'; import type { SyntaxNodeRef, Tree } from '@lezer/common'; /** @internal */ export declare function getStatementCursorAtPosition(cursorPosition: number, editorState: EditorState): import("@lezer/common").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 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?: Text | 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; };