import { AsyncReadonlyConditionStoreInterface } from 'gt-i18n/internal/types'; export type AsyncConditionStoreParams = { getLocale?: () => Promise; getRegion?: () => Promise; enableI18n?: boolean; headerName?: string; cookieName?: string; regionCookieName?: string; ignorePreferredLanguages?: boolean; }; export declare const getAsyncConditionStore: () => AsyncConditionStore, setAsyncConditionStore: (next: AsyncConditionStore) => void; /** * Server-side (app router) condition store * * Note that this gets used by RSC, but SSR (aka 'use client' bondary on server) * uses context to access this condition store */ export declare class AsyncConditionStore implements AsyncReadonlyConditionStoreInterface { private getLocaleFn; private getRegionFn; private enableI18n; private localeStore; constructor({ getLocale, getRegion, enableI18n, headerName, cookieName, regionCookieName, ignorePreferredLanguages, }: AsyncConditionStoreParams); getLocale(): Promise; getRegion(): Promise; getEnableI18n(): Promise; enterWith(locale: string): void; } //# sourceMappingURL=AsyncConditionStore.d.ts.map