/** * I18n reducer handles all locale/translation state changes. * * @module i18n/reducer */ import type { Reducer } from '../types.js'; import type { I18nState, I18nAction, I18nDependencies } from './types.js'; /** * Build fallback chain for a locale. * Example: 'pt-BR' → ['pt-BR', 'pt', 'en'] */ export declare function buildFallbackChain(locale: string, defaultLocale: string): string[]; /** * Determine text direction for locale. */ export declare function getDirection(locale: string): 'ltr' | 'rtl'; /** * I18n reducer handles all locale/translation state changes. */ export declare const i18nReducer: Reducer; /** * Create initial i18n state. */ export declare function createInitialI18nState(locale: string, availableLocales: string[], defaultLocale?: string): I18nState; //# sourceMappingURL=reducer.d.ts.map