/**
 * Tree-sitter language detection and grammar resolution.
 *
 * Maps file extensions to tree-sitter grammar packages for use by
 * the Smart Explore code analysis pipeline.
 *
 * @task T148
 */
/** Supported tree-sitter language identifiers. */
export type TreeSitterLanguage = 'typescript' | 'tsx' | 'javascript' | 'python' | 'go' | 'rust' | 'java' | 'c' | 'cpp' | 'ruby';
/**
 * Detect tree-sitter language from a file path.
 *
 * @param filePath - Path to a source file
 * @returns The detected language, or undefined if unsupported
 */
export declare function detectLanguage(filePath: string): TreeSitterLanguage | undefined;
/**
 * Get the npm grammar package name for a language.
 *
 * @param language - A tree-sitter language identifier
 * @returns The npm package name containing the grammar
 */
export declare function grammarPackage(language: TreeSitterLanguage): string;
/** All supported file extensions. */
export declare const SUPPORTED_EXTENSIONS: string[];
/** All supported languages. */
export declare const SUPPORTED_LANGUAGES: TreeSitterLanguage[];
//# sourceMappingURL=tree-sitter-languages.d.ts.map