export type WidgetLocale = 'en' | 'ko' | 'ru' | 'fr' | 'ar' | 'pt' | 'es'; /** Right-to-left locales (Arabic) — the widget root sets dir accordingly. */ export declare function isRTL(locale: WidgetLocale): boolean; /** The auto-localized string set (everything except the two special keys above). */ export interface WidgetStrings { placeholder: string; offline: string; online: string; away: string; aiAssistant: string; resolved: string; reopen: string; sources: string; helpful: string; notHelpful: string; translate: string; original: string; showOriginal: string; translateUnavailable: string; title: string; newChat: string; startChat: string; all: string; empty: string; error: string; retry: string; search: string; unread: string; close: string; back: string; sendMessage: string; dismiss: string; openChat: string; closeChat: string; conversation: string; typing: string; } /** Host overrides: any built-in string, plus the two special override-only keys. */ export type WidgetI18nOverrides = Partial & { poweredBy?: string; send?: string; }; /** Resolve a supported locale from an explicit option or the browser. Supports * en/ko/ru/fr/ar/pt/es; anything else resolves to English. Accepts full BCP-47 * tags ('ko-KR'), bare codes ('ko'), or language names ('korean'/'français'). */ export declare function resolveLocale(explicit?: string): WidgetLocale; /** The full string set for the resolved locale, with host per-key overrides * applied on top (overrides win; blank/undefined override values are ignored so * a partial override object never blanks a built-in string). The result may * also carry `poweredBy`/`send` when the host provided them. */ export declare function resolveStrings(locale?: string, overrides?: WidgetI18nOverrides): WidgetStrings & { poweredBy?: string; send?: string; };