/** * Language Map * * Maps file extensions to AST languages and provides tree-sitter * query patterns for each language. */ import type { ASTLanguage } from '../ast.types.js'; /** * Get the AST language for a file extension */ export declare function getLanguageForExtension(ext: string): ASTLanguage | null; /** * Get the WASM grammar filename for a language */ export declare function getGrammarWasmFile(language: ASTLanguage): string; /** * Get all supported file extensions */ export declare function getSupportedExtensions(): string[]; /** * Check if a file extension is supported */ export declare function isSupportedExtension(ext: string): boolean; /** * Get all supported languages */ export declare function getSupportedLanguages(): ASTLanguage[]; //# sourceMappingURL=language-map.d.ts.map