import type { Tree, Node as SyntaxNode } from '../web-tree-sitter.js'; export type { SyntaxNode }; /** * Parse an EJS template using tree-sitter-embedded-template. * * The call is synchronous — the WASM initialisation has already completed * when this module was first imported. Returns the root {@link SyntaxNode} * of the parse tree. */ export declare function parseEjs(text: string): Tree; /** * Parse JavaScript source using tree-sitter-javascript. */ export declare function parseJavaScript(text: string): Tree; export declare function findErrorNode(node: SyntaxNode): SyntaxNode | null; //# sourceMappingURL=ts-parser.d.ts.map