import { WidgetConfig } from '../types/widget-config'; declare const languages: { readonly ar: TranslationInterface; readonly bn: TranslationInterface; readonly bg: TranslationInterface; readonly cs: TranslationInterface; readonly da: TranslationInterface; readonly de: TranslationInterface; readonly el: TranslationInterface; readonly en: TranslationInterface; readonly es: TranslationInterface; readonly et: TranslationInterface; readonly fi: TranslationInterface; readonly fil: TranslationInterface; readonly fr: TranslationInterface; readonly hi: TranslationInterface; readonly hr: TranslationInterface; readonly hu: TranslationInterface; readonly is: TranslationInterface; readonly it: TranslationInterface; readonly ja: TranslationInterface; readonly ko: TranslationInterface; readonly lb: TranslationInterface; readonly lt: TranslationInterface; readonly lv: TranslationInterface; readonly mt: TranslationInterface; readonly nb: TranslationInterface; readonly nl: TranslationInterface; readonly no: TranslationInterface; readonly pl: TranslationInterface; readonly pt: TranslationInterface; readonly ro: TranslationInterface; readonly ru: TranslationInterface; readonly sk: TranslationInterface; readonly sv: TranslationInterface; readonly th: TranslationInterface; readonly tr: TranslationInterface; readonly ur: TranslationInterface; readonly vi: TranslationInterface; readonly 'zh-cn': TranslationInterface; }; export declare const LANGUAGES: (keyof typeof languages)[]; export type Language = (typeof LANGUAGES)[number]; export declare function isSupportedLanguage(lang: string | null | undefined): lang is Language; export declare function isRtlLanguage(lang: Language): boolean; /** The language the widget renders in: `config.language` when supported, else English. */ export declare function resolveLanguage(lang: string | null | undefined): Language; export declare function getTranslation(key: TranslationKeyU, lang: Language, overrides: WidgetConfig['translationOverrides'], params?: Record): string; /** `getTranslation` for code that holds the config rather than a language. */ export declare function translate(config: Pick, key: TranslationKeyU, params?: Record): string; export type TranslationInterface = { i_need_more_help: string; this_was_helpful: string; write_a_message_placeholder: string; your_issue_has_been_resolved: string; new_conversation: string; back_to_conversations: string; closed_conversations: string; no_conversations_yet: string; welcome_screen_title: string; welcome_screen_description: string; your_name_placeholder: string; your_email_placeholder: string; optional: string; start_chat_button: string; start_chat_button_loading: string; csat_title: string; csat_submitted_title: string; csat_feedback_placeholder: string; follow_up_placeholder: string; companion_layout_label: string; companion_layout_floating: string; companion_layout_sidebar: string; companion_layout_fullscreen: string; companion_close: string; companion_close_chat?: string; companion_history: string; companion_switch_chat?: string; companion_viewing?: string; companion_working?: string; companion_open?: string; companion_closed?: string; companion_draft?: string; companion_chats?: string; companion_chat_number?: string; companion_active_chats?: string; companion_other_sessions?: string; companion_working_chats?: string; /** Launcher badge label: sessions with a reply the visitor has not seen. */ unread_sessions?: string; companion_expand_chat: string; companion_sidebar_dock_label: string; companion_sidebar_side_label: string; companion_sidebar_left: string; companion_sidebar_right: string; companion_resize_chat: string; scroll_to_bottom: string; thinking: string; running: string; steps: string; step_arguments: string; step_result: string; attach_files: string; mark_page_active: string; mark_page: string; stop_response: string; copy_reply: string; mentions_empty: string; copied: string; dictate: string; stop_dictation: string; dictation_mic_blocked: string; dictation_unavailable: string; send_message: string; upload_failed: string; file_rejected: string; remove_attachment: string; json_no_items: string; json_no_data: string; json_no_chart_data: string; json_unsupported: string; json_see_less: string; /** Subtitle of a tool-built phone-agent card. */ json_phone_agent: string; /** The phone-agent card's action, completed by the host page. */ json_phone_agent_test: string; /** Dismisses the composer's page-context (entity) pill for one message. */ page_context_remove: string; json_see_more: string; page_mark_hint: string; page_mark_escape: string; page_mark_shape_box: string; page_mark_shape_circle: string; page_mark_shape_arrow: string; page_mark_shape_bracket: string; page_mark_shape_underline: string; page_mark_shape_highlight: string; page_mark_shape_strike_through: string; page_mark_shape_crossed_off: string; page_mark_shape_aria: string; page_mark_note_placeholder: string; page_mark_attach: string; page_mark_remove: string; page_mark_region: string; page_mark_default_message: string; /** Header of the multi-send queue pill above the composer. */ queued_label: string; /** Accessible label of the per-message remove button in the queue pill. */ remove_queued_message: string; send_queued_now: string; /** Body of the error row shown when an agent turn failed to arrive. */ turn_failed_message: string; /** Retry action in the failed-turn error row. */ turn_failed_retry: string; /** Previous question in the agent's clarification card. */ questions_back: string; /** Next question in the agent's clarification card. */ questions_next: string; /** Submits every answer of the clarification card as one message. */ questions_send: string; /** Escape from the offered chips into a free-text answer. */ questions_type_answer: string; /** Placeholder of that free-text answer box. */ questions_answer_placeholder: string; /** Fallbacks for the close-session confirmation; a header button's own copy wins. */ close_conversation_title: string; close_conversation_description: string; close_conversation_cancel: string; close_conversation_confirm: string; /** Screen-reader label of the modal's corner dismiss button. */ dialog_close: string; zoom_in: string; zoom_out: string; reset_zoom: string; /** Names the chat panel for screen readers on the host page. */ support_chat_aria_label: string; }; export type TranslationKeyU = keyof TranslationInterface; export {}; //# sourceMappingURL=index.d.ts.map