import { Config } from '../utils/config.js'; export declare class I18n { private language; constructor(config: Config); /** * Get a translated string * @param namespace The translation namespace (common, admin, repos, etc.) * @param key The translation key * @param params Optional parameters to replace in the string * @returns The translated string */ t(namespace: string, key: string, params?: Record): string; /** * Get the current language * @returns The current language code */ getLanguage(): string; /** * Set the language * @param language The language code to set */ setLanguage(language: string): void; } export declare function initializeI18n(config: Config): I18n; export declare function getI18n(): I18n;