import { TranslationService } from '../services/i18n/Translation.service'; import { Locale } from '../types/common/Locale.type'; export interface TranslationState extends Record { locale: Locale; translationService: TranslationService; } export declare const SUPPORTED_LOCALES: Locale[]; export declare const DEFAULT_LOCALE: Locale; /** * Creates and configures the translation store * @param initialLocale - The initial locale to use * @returns The configured translation store */ export declare function createTranslationStore(initialLocale?: Locale | null): { store: import('./Store').Store; translate: (key: string, values?: Record) => string; setLocale: (locale: Locale) => void; getLocale: () => Locale; subscribe: (callback: (state: Readonly) => void) => () => void; }; export declare const translationStore: { store: import('./Store').Store; translate: (key: string, values?: Record) => string; setLocale: (locale: Locale) => void; getLocale: () => Locale; subscribe: (callback: (state: Readonly) => void) => () => void; }; //# sourceMappingURL=TranslationStore.d.ts.map