import { type MessageKey, type MessageParams, type WidgetLanguage, type TextDirection } from '@/i18n'; export declare const widgetLanguage: () => WidgetLanguage; export declare const widgetDirection: () => TextDirection; export declare const t: (key: MessageKey, params?: MessageParams) => string; /** The embedder's choice. Called by the templates from their `language` prop. */ export declare const setWidgetLanguage: (value: unknown) => void; /** The deployment owner's choice, read from `/config`. Used only when the embedder set none. */ export declare const setDeploymentLanguage: (value: unknown) => void; /** * A table whose values read `t()` lazily, so a module-level string table keeps * reacting to the language without every consumer threading `t` through. */ export declare const localizedStrings: >(keys: T) => { readonly [K in keyof T]: string; };