import { type ForgeSupportedLocaleCode } from './constants'; export { ForgeSupportedLocaleCode }; type TranslationsResources = [ { key: ForgeSupportedLocaleCode; path: string; }, ...{ key: ForgeSupportedLocaleCode; path: string; }[] ]; type TranslationsFallback = { [key in ForgeSupportedLocaleCode]?: ForgeSupportedLocaleCode[]; } & { default: ForgeSupportedLocaleCode; }; export interface Translations { resources: TranslationsResources; fallback: TranslationsFallback; } type I18nInfoTranslations = Record; interface I18nInfoConfig { locales: ForgeSupportedLocaleCode[]; fallback: Translations['fallback']; } export interface I18nInfo { translations: I18nInfoTranslations; config: I18nInfoConfig; } export type I18nValue = { i18n: string; }; //# sourceMappingURL=types.d.ts.map