/** * Utilities for detecting the project language from the database * and resolving per-file languages for symbols. */ import type { IndexDatabase } from '../../db/database.js'; import type { SupportedLanguage } from '../llm/_shared/prompts.js'; /** * Detect the majority language of the project from the files table. * Returns 'typescript' for TS/JS projects, 'ruby' for Ruby projects. */ export declare function detectProjectLanguage(db: IndexDatabase): SupportedLanguage; /** * Build a map from file path to SupportedLanguage for all files in the DB. * Used for per-symbol language resolution in mixed-language projects. */ export declare function buildFileLanguageMap(db: IndexDatabase): Map; //# sourceMappingURL=language-detection.d.ts.map