import type { ParseResult } from "../types/index.js"; import { parseTSJS } from "./parsers/tsjs.js"; export { parseTSJS }; export declare function parseFile(content: string, language: string): ParseResult; /** * Async parse path. When SVERKLO_PARSER=tree-sitter is set AND the * web-tree-sitter dep is installed AND a grammar for the language is * present at ~/.sverklo/grammars/, returns the tree-sitter result. * Otherwise falls back to the regex parser. The fallback is silent — * we never want a missing grammar to break indexing. */ export declare function parseFileAsync(content: string, language: string): Promise;