import { SyntaxNode, Tree } from '@lezer/common'; import { CompressedNode } from '../types.d.mts'; export declare const getChildNodes: (node: SyntaxNode) => SyntaxNode[]; export declare const hasErrorNode: (tree: Tree) => false | SyntaxNode; export declare const formatAST: (node: SyntaxNode, code?: string, depth?: number) => string; export declare const formatASTNode: (node: SyntaxNode) => string; export declare const makeASTEmitter: (out: any[], ops: string[], symbols?: string[]) => (type: string, from: number, to: number, arg?: any) => void; export declare const makeASTDecompressor: (ops: string[]) => (nodes: CompressedNode[], symbols?: string[]) => Tree; type Decompressor = { (s: (string | number)[]): string[]; (s: string | number): string; }; export declare const decompressString: (symbols: string[]) => Decompressor; export {};