/** * Language Plugin Registry * * Manages registration and lookup of language plugins. */ import type { LanguagePlugin, LanguageRegistry, SupportedLanguage } from './types.js'; /** * Get the global language registry */ export declare function getLanguageRegistry(): LanguageRegistry; /** * Register a language plugin in the global registry */ export declare function registerLanguage(plugin: LanguagePlugin): void; /** * Get a language plugin by language ID */ export declare function getLanguagePlugin(language: SupportedLanguage): LanguagePlugin | undefined; /** * Get a language plugin for a file path */ export declare function getLanguageForFile(filePath: string): LanguagePlugin | undefined; /** * Detect language from file path */ export declare function detectLanguage(filePath: string): SupportedLanguage | undefined; /** * Check if a language is supported */ export declare function isLanguageSupported(language: string): language is SupportedLanguage; //# sourceMappingURL=registry.d.ts.map