import type { TreeSitterLanguage } from "./syntax.ts"; /** Vendored grammar file names, resolved identically from `src`, published `dist` and the compiled binary. */ export declare const GRAMMAR_FILES: Readonly<{ readonly ts: "typescript.wasm"; readonly tsx: "tsx.wasm"; readonly js: "javascript.wasm"; }>; export declare const TREE_SITTER_RUNTIME_FILE = "web-tree-sitter.wasm"; /** `src/harness/utils/read-folders/tree-sitter` and `dist/harness/utils/read-folders/tree-sitter` share this depth. */ export declare const packagedAssetDirectory: string; export type GrammarResolver = (language: TreeSitterLanguage) => Promise; /** * Packaged grammars ship with the package and the compiled binary; the pinned measurement * dependency only backs languages that are evaluated but not shipped. A missing grammar is a * normal outcome: the caller keeps the heuristic folder. */ export declare function resolveGrammarPath(language: TreeSitterLanguage): Promise; /** The emscripten runtime module the grammars are instantiated against. */ export declare function resolveRuntimePath(): Promise; //# sourceMappingURL=grammar-assets.d.ts.map