/** * Detect the user's preferred language. * * Checks (in order): localStorage → browser language list → default. */ export declare function detectLanguage(isLanguageSupported: (lang: string) => boolean, defaultLanguage: string, storageKey: string): string; /** * Strip a language prefix from a pathname. * * `/en/daily` → `/daily`, `/zh-hant` → `/` */ export declare function stripLangPrefix(pathname: string): string; //# sourceMappingURL=detectLanguage.d.ts.map