import type { StatefulObservable } from "powerhooks/useGlobalState"; export type { StatefulObservable }; declare const GLOBAL_CONTEXT_KEY = "__i18nifty.useLang.globalContext"; declare global { interface Window { [GLOBAL_CONTEXT_KEY]: { initialLocationHref: string; }; } } export declare function createUseLang(params: { languages: readonly Language[]; fallbackEnabledLanguage: Language; }): { useLang: () => import("powerhooks/useNamedState").UseNamedStateReturnType; $lang: StatefulObservable; };