import { LocaleContribution, LocaleTag } from "@agimon-ai/po-core/web"; //#region src/web/stores/localeStore.d.ts /** The language the person picked; absent means follow the browser. */ export declare const LOCALE_STORAGE_KEY = "po.web.locale"; /** The remembered pick, or undefined when the page follows the browser. */ export declare function storedLocale(): LocaleTag | undefined; /** The languages the picker offers: each pack the person's computers contribute. English is always offered beside them. */ export declare function availableLocales(): readonly LocaleContribution[]; /** Puts the remembered language on the page before the first render, from its snapshot. */ export declare function applyStoredLocale(): void; /** * Settles the language once plugins are installed: the picked pack's current messages replace the * snapshot, a pack that is gone is forgotten, and with no pick the browser's language is matched. */ export declare function reconcileStoredLocale(): void; /** Switches the language and remembers it. `null` goes back to following the browser. */ export declare function selectLocale(tag: LocaleTag | null): void; //#endregion //# sourceMappingURL=localeStore.d.mts.map