/** * Supported language identifiers for syntax highlighting in Markdown */ export declare const LANGUAGES: string[]; /** * Language aliases mapping alternative names to standardized identifiers */ export declare const LANGUAGE_ALIASES: Record; /** * Detects programming language from a class name * * @param className - The class name to analyze * @returns The detected language identifier or empty string if none found */ export declare function detectLanguage(className: string): string; /** * Usage frequency ranking for programming languages (higher values = more common) * Based on typical web content and popularity metrics */ export declare const LANGUAGE_USAGE_RANK: Record; /** * Detects programming language based on code content analysis * Prioritizes high-usage languages for more efficient detection * * @param code - The code content to analyze * @returns Detected language identifier or empty string if undetected */ export declare function detectLanguageFromContent(code: string): string; /** * Get ranking score for a particular language * Used for sorting languages by usage frequency * * @param language - The language identifier to get ranking for * @returns The ranking score (higher = more common) */ export declare function getLanguageRank(language: string): number; /** * Comprehensive language detection that combines class-based and content-based detection * * @param className - The class name to analyze * @param content - Optional code content to analyze if class-based detection fails * @param element - Optional HTML element to check for data attributes * @returns The detected language identifier or empty string */ export declare function detectProgrammingLanguage(className: string, content?: string, element?: HTMLElement): string;