import { Range } from 'vscode-languageserver/node';
import { SyntaxNode } from 'web-tree-sitter';
export declare function forEach(node: SyntaxNode, cb: (n: SyntaxNode) => void): void;
export declare function range(n: SyntaxNode): Range;
export declare function isDefinition(n: SyntaxNode): boolean;
export declare function isReference(n: SyntaxNode): boolean;
export declare function findParent(start: SyntaxNode, predicate: (n: SyntaxNode) => boolean): SyntaxNode | null;
