import type { DetectedLanguageResult } from './types.js'; /** * Heuristically detect the language of the given text using franc. * * Returns 'unknown' when: * - text is shorter than MIN_TEXT_LENGTH characters * - franc returns 'und' (undetermined) * - the detected language is not in LANGUAGE_CODE_MAP * - confidence is below MIN_CONFIDENCE * * This is a helper heuristic — it does not affect the pseudonymization pipeline. * The --lang config flag remains the authoritative language selector. */ export declare function detectLanguage(text: string): DetectedLanguageResult; //# sourceMappingURL=detect-language.d.ts.map