import Base from '../../modules/Base.ts'; import type { I18nBaseInstance, TI18n } from './types.ts'; export type { TI18n } from './types.ts'; export declare class I18n extends Base { #private; getI18nForLang(lang?: string): Promise; /** * Base i18next instance, initialised on first use. * * @throws when the optional `i18next`/`i18next-fs-backend` packages are not * installed — use `getI18nBaseInstanceIfAvailable()` where falling back to * the framework's English defaults is the better answer. */ getI18nBaseInstance(): Promise; /** * Base i18next instance, or `null` when the optional packages are missing — * logged once, not per request. Any other initialisation failure still throws. */ getI18nBaseInstanceIfAvailable(): Promise; static get loggerGroup(): string; }