Files
LangBot/docs/src/locale-preference.d.mts
T
RockChinQ 9d2042478a Add 'docs/' from commit '51dddcb3f891d60bc38645e88b2dbd515344da81'
git-subtree-dir: docs
git-subtree-mainline: 0582d1b3d4
git-subtree-split: 51dddcb3f8
2026-10-27 08:04:35 +00:00

8 lines
462 B
TypeScript

export const STORAGE_KEY: string;
export const LOCALES: readonly string[];
export function detectLocale(saved: unknown, languages?: readonly unknown[]): string;
export function saveLocale(locale: string, browser?: Window): void;
export function preferredLocale(browser?: Window): string;
export function localeDestination(locale: string, alternates: {language: string; href: string}[], origin: string): string;
export function enterDocs(browser?: Window): void;