export type CatI18nTranslationFn = (key: string, params?: unknown) => string; /** * A registry for lightweight internationalization (i18n) in applications using * the Catalyst design system. The registry stores translations and provides * methods for setting the locale, registering translations, and retrieving * translated messages. */ export declare class CatI18nRegistry { private static instance; private readonly id; private readonly i18n; private _locale?; private _translator?; private constructor(); static getInstance(): CatI18nRegistry; getLocale(): string; setLocale(locale: string, silent?: boolean): void; set(i18n: { [key: string]: string; } | CatI18nTranslationFn, silent?: boolean): void; clear(silent?: boolean): void; t(key: string, params?: { [key: string]: unknown; }): string; private buildEvent; } export declare const catI18nRegistry: CatI18nRegistry;