/** Name of the cookie that remembers the visitor's chosen locale. */ export declare const SAVED_LOCALE_COOKIE = "p1_locale"; /** * The visitor's saved locale, read in the browser. * * @returns The saved locale, or `null` when none is saved, the value is not a locale tag, or there is no `document`. */ export declare function getSavedLocale(): string | null; /** * Remembers `locale` as the visitor's choice for later visits, in a site-wide * cookie that lasts a year. Does nothing outside a browser. */ export declare function saveLocale(locale: string): void;