import type * as ElevenLabs from "../index"; export interface WidgetConfigResponse { /** The variant of the widget */ variant?: ElevenLabs.EmbedVariant; /** The placement of the widget on the screen */ placement?: ElevenLabs.WidgetPlacement; /** Whether the widget is expandable */ expandable?: ElevenLabs.WidgetExpandable; /** The avatar of the widget */ avatar?: ElevenLabs.WidgetConfigResponseModelAvatar; /** The feedback mode of the widget */ feedbackMode?: ElevenLabs.WidgetFeedbackMode; /** Configuration for feedback collected at the end of the conversation */ endFeedback?: ElevenLabs.WidgetEndFeedbackConfig; /** The background color of the widget */ bgColor?: string; /** The text color of the widget */ textColor?: string; /** The button color of the widget */ btnColor?: string; /** The button text color of the widget */ btnTextColor?: string; /** The border color of the widget */ borderColor?: string; /** The focus color of the widget */ focusColor?: string; /** The border radius of the widget */ borderRadius?: number; /** The button radius of the widget */ btnRadius?: number; /** The action text of the widget */ actionText?: string; /** The start call text of the widget */ startCallText?: string; /** The end call text of the widget */ endCallText?: string; /** The expand text of the widget */ expandText?: string; /** The text to display when the agent is listening */ listeningText?: string; /** The text to display when the agent is speaking */ speakingText?: string; /** The text to display when sharing */ shareablePageText?: string; /** Whether to show terms and conditions on the shareable page */ shareablePageShowTerms?: boolean; /** The text to display for terms and conditions */ termsText?: string; /** The HTML to display for terms and conditions */ termsHtml?: string; /** The key to display for terms and conditions */ termsKey?: string; /** Whether to show the avatar when the widget is collapsed */ showAvatarWhenCollapsed?: boolean; /** Whether to disable the banner */ disableBanner?: boolean; /** The override link for the widget */ overrideLink?: string; /** List of allowed hostnames for clickable markdown links. Use { hostname: '*' } to allow any domain. Empty means no links are allowed. */ markdownLinkAllowedHosts?: ElevenLabs.AllowlistItem[]; /** Whether to automatically include www. variants of allowed hosts */ markdownLinkIncludeWww?: boolean; /** Whether to allow http:// in addition to https:// for allowed hosts */ markdownLinkAllowHttp?: boolean; /** Whether to enable mic muting */ micMutingEnabled?: boolean; /** Whether the widget should show the conversation transcript as it goes on */ transcriptEnabled?: boolean; /** Whether the user should be able to send text messages */ textInputEnabled?: boolean; /** Whether to enable the conversation mode toggle in the widget */ conversationModeToggleEnabled?: boolean; /** Whether the widget should be expanded by default */ defaultExpanded?: boolean; /** Whether the widget should always be expanded */ alwaysExpanded?: boolean; /** Whether the widget can be dismissed by the user */ dismissible?: boolean; /** Whether to show agent working/done/error status during tool use */ showAgentStatus?: boolean; /** Whether to show the conversation ID after disconnection. */ showConversationId?: boolean; /** Whether to strip audio markup from messages. */ stripAudioTags?: boolean; /** Theme for code block syntax highlighting. Defaults to auto-detection by the widget when not set. */ syntaxHighlightTheme?: ElevenLabs.WidgetConfigResponseModelSyntaxHighlightTheme; /** Text contents of the widget */ textContents?: ElevenLabs.WidgetTextContents; /** Styles for the widget */ styles?: ElevenLabs.WidgetStyles; language: string; supportedLanguageOverrides?: string[]; /** Language presets for the widget */ languagePresets?: Record; /** Whether the agent uses text-only mode */ textOnly?: boolean; /** Whether the agent can be switched to text-only mode */ supportsTextOnly?: boolean; firstMessage?: string; /** Whether to use WebRTC for conversation connections */ useRtc?: boolean; }