import i18n from 'i18next'; /** * Register an additional locale at runtime. Useful when an app wants to add a * language without editing the i18n.ts file itself. Safe to call multiple * times — a bundle is only added the first time it appears for a given * `(code, namespace)` pair. * * @param code BCP-47 language code (e.g. `'fr'`, `'ja'`, `'pt-PT'`) * @param json Translation object — same shape as the bundled `` object * above (top-level keys `common`, `nav`, `home`, etc.) * @param ns Translation namespace (defaults to `'translation'`, which is * the only namespace used by Xertica UI) */ export declare function registerLanguageResource(code: string, json: Record, ns?: string): void; export default i18n;