/* eslint-disable */ /* tslint:disable */ /** * This is an autogenerated file created by the Stencil compiler. * It contains typing information for all components that exist in this project. */ import { HTMLStencilElement, JSXBase } from "./stencil-public-runtime"; import { CarouselElement, QuickReply, QuickReplyMessage } from "@rasahq/chat-widget-sdk"; import { SenderType } from "@rasahq/chat-widget-sdk/dist/types/common.types"; export { CarouselElement, QuickReply, QuickReplyMessage } from "@rasahq/chat-widget-sdk"; export { SenderType } from "@rasahq/chat-widget-sdk/dist/types/common.types"; export namespace Components { interface ChatMessage { /** * Show sender icon */ "hideSenderIcon": boolean; /** * Who sent the message */ "sender": 'user' | 'bot'; /** * Show message timestamp */ "showTimestamp": boolean; /** * Message timestamp */ "timestamp": Date; } interface ErrorToast { } interface GlobalErrorHandler { } interface RasaAccordion { /** * Represents the label property of an Accordion component. The label serves as the title or heading for accordion. */ "label": string; } interface RasaButton { /** * Is button selected as option */ "isSelected": boolean; /** * Additional value that is passed at button click */ "reply": string; } interface RasaCarousel { /** * List of carousel elements */ "elements": CarouselElement[]; } interface RasaChatInput { /** * Input value */ "initialValue"?: string; } interface RasaChatbotWidget { /** * User authentication token */ "authenticationToken": string; /** * If set to True, it will open the chat, triggering the 'initialPayload' immediately if set. */ "autoOpen": boolean; /** * Static icon for the chatbot */ "botIcon": string; /** * Indicates if a message timestamp should be displayed */ "displayTimestamp": boolean; /** * If set to True, shows conversation feedback component at the bottom of the chat. */ "enableFeedback": boolean; /** * Message that should be displayed if an error occurs */ "errorMessage": string; /** * Text for the feedback question. If empty, feedback component will not be shown. */ "feedbackQuestionText": string; /** * Text for the thank you message after feedback submission. If empty, no thank you message will be shown. */ "feedbackThankYouText": string; /** * Font family to use for the widget. Defaults to 'Lato, sans-serif' */ "fontFamily": string; /** * Data that should be sent on Chat Widget initialization */ "initialPayload": string; /** * Message placeholder for input */ "inputMessagePlaceholder": string; /** * Indicates time between message is received and printed. */ "messageDelay": number; /** * Format of the message timestamp */ "messageTimestamp": string; /** * If set to True, instead of the default WebSocket communication, the widget will use the HTTP protocol. */ "restEnabled": boolean; /** * ID of a user engaged with the Chat Widget */ "senderId": string; /** * Url of the Rasa chatbot backend server (example: https://example.com) */ "serverUrl": string; /** * Text to display before the session start date in session divider */ "sessionStartedText": string; /** * If set to True, bot messages will be received as stream (printing word by word). */ "streamMessages": boolean; /** * Indicates whether the chat messenger can be toggled to full screen mode. */ "toggleFullScreen": boolean; /** * Static icon for the widget */ "widgetIcon": string; /** * Title of the Chat Widget */ "widgetTitle": string; } interface RasaConversationFeedback { /** * Text for the feedback question. If empty, component will not be shown. */ "questionText": string; /** * Whether the feedback component should be shown */ "show": boolean; /** * Whether the feedback has been submitted */ "submitted": boolean; /** * Text for the thank you message. If empty, no thank you message will be shown. */ "thankYouText": string; } interface RasaFileDownloadMessage { /** * The file name for the downloaded file */ "fileName": string; /** * URL of the file to download */ "fileUrl": string; /** * Message text */ "text": string; } interface RasaIconArrowsContract { /** * (optional) When using the icon standalone, make it meaningful for accessibility */ "accessibilityTitle"?: string; /** * (optional) Alias for `fill` */ "color"?: string; /** * (optional) If `true` the SVG element will get `aria-hidden="true"` */ "decorative"?: boolean; /** * (optional) Sets the icon color via the `fill` attribute */ "fill"?: string; /** * (optional) The width and height in pixels */ "size"?: number; } interface RasaIconArrowsExpand { /** * (optional) When using the icon standalone, make it meaningful for accessibility */ "accessibilityTitle"?: string; /** * (optional) Alias for `fill` */ "color"?: string; /** * (optional) If `true` the SVG element will get `aria-hidden="true"` */ "decorative"?: boolean; /** * (optional) Sets the icon color via the `fill` attribute */ "fill"?: string; /** * (optional) The width and height in pixels */ "size"?: number; } interface RasaIconChat { /** * (optional) When using the icon standalone, make it meaningful for accessibility */ "accessibilityTitle"?: string; /** * (optional) Alias for `fill` */ "color"?: string; /** * (optional) If `true` the SVG element will get `aria-hidden="true"` */ "decorative"?: boolean; /** * (optional) Sets the icon color via the `fill` attribute */ "fill"?: string; /** * (optional) The width and height in pixels */ "size"?: number; } interface RasaIconChevronDown { /** * (optional) When using the icon standalone, make it meaningful for accessibility */ "accessibilityTitle"?: string; /** * (optional) Alias for `fill` */ "color"?: string; /** * (optional) If `true` the SVG element will get `aria-hidden="true"` */ "decorative"?: boolean; /** * (optional) Sets the icon color via the `fill` attribute */ "fill"?: string; /** * (optional) The width and height in pixels */ "size"?: number; } interface RasaIconCloseChat { /** * (optional) When using the icon standalone, make it meaningful for accessibility */ "accessibilityTitle"?: string; /** * (optional) Alias for `fill` */ "color"?: string; /** * (optional) If `true` the SVG element will get `aria-hidden="true"` */ "decorative"?: boolean; /** * (optional) Sets the icon color via the `fill` attribute */ "fill"?: string; /** * (optional) The width and height in pixels */ "size"?: number; } interface RasaIconDanger { /** * (optional) When using the icon standalone, make it meaningful for accessibility */ "accessibilityTitle"?: string; /** * (optional) Alias for `fill` */ "color"?: string; /** * (optional) If `true` the SVG element will get `aria-hidden="true"` */ "decorative"?: boolean; /** * (optional) Sets the icon color via the `fill` attribute */ "fill"?: string; /** * (optional) The width and height in pixels */ "size"?: number; } interface RasaIconDefaultImageFallback { /** * (optional) When using the icon standalone, make it meaningful for accessibility */ "accessibilityTitle"?: string; /** * (optional) Alias for `fill` */ "color"?: string; /** * (optional) If `true` the SVG element will get `aria-hidden="true"` */ "decorative"?: boolean; /** * (optional) Sets the icon color via the `fill` attribute */ "fill"?: string; /** * (optional) The width and height in pixels */ "size"?: number; } interface RasaIconExternalLink { /** * (optional) When using the icon standalone, make it meaningful for accessibility */ "accessibilityTitle"?: string; /** * (optional) Alias for `fill` */ "color"?: string; /** * (optional) If `true` the SVG element will get `aria-hidden="true"` */ "decorative"?: boolean; /** * (optional) Sets the icon color via the `fill` attribute */ "fill"?: string; /** * (optional) The width and height in pixels */ "size"?: number; } interface RasaIconPaperPlane { /** * (optional) When using the icon standalone, make it meaningful for accessibility */ "accessibilityTitle"?: string; /** * (optional) Alias for `fill` */ "color"?: string; /** * (optional) If `true` the SVG element will get `aria-hidden="true"` */ "decorative"?: boolean; /** * (optional) Sets the icon color via the `fill` attribute */ "fill"?: string; /** * (optional) The width and height in pixels */ "size"?: number; } interface RasaIconPaperclip { /** * (optional) When using the icon standalone, make it meaningful for accessibility */ "accessibilityTitle"?: string; /** * (optional) Alias for `fill` */ "color"?: string; /** * (optional) If `true` the SVG element will get `aria-hidden="true"` */ "decorative"?: boolean; /** * (optional) Sets the icon color via the `fill` attribute */ "fill"?: string; /** * (optional) The width and height in pixels */ "size"?: number; } interface RasaIconRobot { /** * (optional) When using the icon standalone, make it meaningful for accessibility */ "accessibilityTitle"?: string; /** * (optional) Alias for `fill` */ "color"?: string; /** * (optional) If `true` the SVG element will get `aria-hidden="true"` */ "decorative"?: boolean; /** * (optional) Sets the icon color via the `fill` attribute */ "fill"?: string; /** * (optional) The width and height in pixels */ "size"?: number; } interface RasaImage { /** * Alt text for the image */ "alt": string; /** * Image height */ "height": number | string; /** * Image source */ "src": string; /** * Image width */ "width": number | string; } interface RasaImageMessage { /** * Image height */ "height": number | string; /** * Alt text for the image */ "imageAlt": string; /** * Image source */ "imageSrc": string; /** * Is another component using it as child component */ "isChild": boolean; /** * Message text */ "text": string; /** * Image width */ "width": number | string; } interface RasaLinkButton { /** * Is button selected as option */ "isSelected": boolean; /** * Href value for the link button */ "link": string; } interface RasaQuickReply { /** * Element key */ "elementKey": number; /** * Is message form history */ "isHistory": boolean; /** * Message value */ "message": QuickReplyMessage; /** * Element unique id */ "quickReplyId": string; } interface RasaRating { /** * Customizable message from Rasa (Previously thankYouMessage) */ "message": string; /** * List of rating options from Rasa */ "options": string | { value: string; payload: string }[]; /** * Instructional text for the rating component */ "text": string; } interface RasaSessionDivider { /** * Session start datetime */ "sessionStartDate": Date; /** * Text to display before the session start date */ "sessionStartedText": string; } interface RasaText { /** * Disables text parsing (renders text as is, not markdown) */ "disableParsing": boolean; /** * Disables text stream rendering */ "enableStream": boolean; /** * Should component notify messageQueueService at complete rendering */ "notifyCompleteRendering": boolean; /** * Text value */ "value": string; } interface RasaTextMessage { /** * Is message form history */ "isHistory": boolean; /** * Who sent the message */ "sender": SenderType; /** * Message value */ "value": string; } interface RasaTypingIndicator { } interface RasaVideo { /** * Autoplay on load */ "autoplay": boolean; /** * Video player controls */ "disableControls": boolean; /** * Loop video */ "loop": boolean; /** * Mute video */ "mute": boolean; /** * Video source url */ "src": string; } } export interface RasaButtonCustomEvent extends CustomEvent { detail: T; target: HTMLRasaButtonElement; } export interface RasaCarouselCustomEvent extends CustomEvent { detail: T; target: HTMLRasaCarouselElement; } export interface RasaChatInputCustomEvent extends CustomEvent { detail: T; target: HTMLRasaChatInputElement; } export interface RasaChatbotWidgetCustomEvent extends CustomEvent { detail: T; target: HTMLRasaChatbotWidgetElement; } export interface RasaConversationFeedbackCustomEvent extends CustomEvent { detail: T; target: HTMLRasaConversationFeedbackElement; } export interface RasaFileDownloadMessageCustomEvent extends CustomEvent { detail: T; target: HTMLRasaFileDownloadMessageElement; } export interface RasaQuickReplyCustomEvent extends CustomEvent { detail: T; target: HTMLRasaQuickReplyElement; } export interface RasaRatingCustomEvent extends CustomEvent { detail: T; target: HTMLRasaRatingElement; } export interface RasaTextCustomEvent extends CustomEvent { detail: T; target: HTMLRasaTextElement; } declare global { interface HTMLChatMessageElement extends Components.ChatMessage, HTMLStencilElement { } var HTMLChatMessageElement: { prototype: HTMLChatMessageElement; new (): HTMLChatMessageElement; }; interface HTMLErrorToastElement extends Components.ErrorToast, HTMLStencilElement { } var HTMLErrorToastElement: { prototype: HTMLErrorToastElement; new (): HTMLErrorToastElement; }; interface HTMLGlobalErrorHandlerElement extends Components.GlobalErrorHandler, HTMLStencilElement { } var HTMLGlobalErrorHandlerElement: { prototype: HTMLGlobalErrorHandlerElement; new (): HTMLGlobalErrorHandlerElement; }; interface HTMLRasaAccordionElement extends Components.RasaAccordion, HTMLStencilElement { } var HTMLRasaAccordionElement: { prototype: HTMLRasaAccordionElement; new (): HTMLRasaAccordionElement; }; interface HTMLRasaButtonElementEventMap { "buttonClickHandler": { value: string }; } interface HTMLRasaButtonElement extends Components.RasaButton, HTMLStencilElement { addEventListener(type: K, listener: (this: HTMLRasaButtonElement, ev: RasaButtonCustomEvent) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLRasaButtonElement, ev: RasaButtonCustomEvent) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } var HTMLRasaButtonElement: { prototype: HTMLRasaButtonElement; new (): HTMLRasaButtonElement; }; interface HTMLRasaCarouselElementEventMap { "linkClicked": undefined; } interface HTMLRasaCarouselElement extends Components.RasaCarousel, HTMLStencilElement { addEventListener(type: K, listener: (this: HTMLRasaCarouselElement, ev: RasaCarouselCustomEvent) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLRasaCarouselElement, ev: RasaCarouselCustomEvent) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } var HTMLRasaCarouselElement: { prototype: HTMLRasaCarouselElement; new (): HTMLRasaCarouselElement; }; interface HTMLRasaChatInputElementEventMap { "sendMessageHandler": string; } interface HTMLRasaChatInputElement extends Components.RasaChatInput, HTMLStencilElement { addEventListener(type: K, listener: (this: HTMLRasaChatInputElement, ev: RasaChatInputCustomEvent) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLRasaChatInputElement, ev: RasaChatInputCustomEvent) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } var HTMLRasaChatInputElement: { prototype: HTMLRasaChatInputElement; new (): HTMLRasaChatInputElement; }; interface HTMLRasaChatbotWidgetElementEventMap { "chatSessionStarted": { sessionId: string }; "chatWidgetReceivedMessage": unknown; "chatWidgetSentMessage": string; "chatWidgetQuickReply": string; "chatWidgetOpened": undefined; "chatWidgetClosed": undefined; "chatWidgetHyperlinkClicked": undefined; "chatWidgetFileStartedDownload": undefined; "chatWidgetFeedbackSubmitted": { rating: 'positive' | 'negative'; helpful: boolean }; } interface HTMLRasaChatbotWidgetElement extends Components.RasaChatbotWidget, HTMLStencilElement { addEventListener(type: K, listener: (this: HTMLRasaChatbotWidgetElement, ev: RasaChatbotWidgetCustomEvent) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLRasaChatbotWidgetElement, ev: RasaChatbotWidgetCustomEvent) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } var HTMLRasaChatbotWidgetElement: { prototype: HTMLRasaChatbotWidgetElement; new (): HTMLRasaChatbotWidgetElement; }; interface HTMLRasaConversationFeedbackElementEventMap { "feedbackSubmitted": { rating: 'positive' | 'negative'; helpful: boolean }; } interface HTMLRasaConversationFeedbackElement extends Components.RasaConversationFeedback, HTMLStencilElement { addEventListener(type: K, listener: (this: HTMLRasaConversationFeedbackElement, ev: RasaConversationFeedbackCustomEvent) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLRasaConversationFeedbackElement, ev: RasaConversationFeedbackCustomEvent) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } var HTMLRasaConversationFeedbackElement: { prototype: HTMLRasaConversationFeedbackElement; new (): HTMLRasaConversationFeedbackElement; }; interface HTMLRasaFileDownloadMessageElementEventMap { "fileDownloadStarted": undefined; } interface HTMLRasaFileDownloadMessageElement extends Components.RasaFileDownloadMessage, HTMLStencilElement { addEventListener(type: K, listener: (this: HTMLRasaFileDownloadMessageElement, ev: RasaFileDownloadMessageCustomEvent) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLRasaFileDownloadMessageElement, ev: RasaFileDownloadMessageCustomEvent) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } var HTMLRasaFileDownloadMessageElement: { prototype: HTMLRasaFileDownloadMessageElement; new (): HTMLRasaFileDownloadMessageElement; }; interface HTMLRasaIconArrowsContractElement extends Components.RasaIconArrowsContract, HTMLStencilElement { } var HTMLRasaIconArrowsContractElement: { prototype: HTMLRasaIconArrowsContractElement; new (): HTMLRasaIconArrowsContractElement; }; interface HTMLRasaIconArrowsExpandElement extends Components.RasaIconArrowsExpand, HTMLStencilElement { } var HTMLRasaIconArrowsExpandElement: { prototype: HTMLRasaIconArrowsExpandElement; new (): HTMLRasaIconArrowsExpandElement; }; interface HTMLRasaIconChatElement extends Components.RasaIconChat, HTMLStencilElement { } var HTMLRasaIconChatElement: { prototype: HTMLRasaIconChatElement; new (): HTMLRasaIconChatElement; }; interface HTMLRasaIconChevronDownElement extends Components.RasaIconChevronDown, HTMLStencilElement { } var HTMLRasaIconChevronDownElement: { prototype: HTMLRasaIconChevronDownElement; new (): HTMLRasaIconChevronDownElement; }; interface HTMLRasaIconCloseChatElement extends Components.RasaIconCloseChat, HTMLStencilElement { } var HTMLRasaIconCloseChatElement: { prototype: HTMLRasaIconCloseChatElement; new (): HTMLRasaIconCloseChatElement; }; interface HTMLRasaIconDangerElement extends Components.RasaIconDanger, HTMLStencilElement { } var HTMLRasaIconDangerElement: { prototype: HTMLRasaIconDangerElement; new (): HTMLRasaIconDangerElement; }; interface HTMLRasaIconDefaultImageFallbackElement extends Components.RasaIconDefaultImageFallback, HTMLStencilElement { } var HTMLRasaIconDefaultImageFallbackElement: { prototype: HTMLRasaIconDefaultImageFallbackElement; new (): HTMLRasaIconDefaultImageFallbackElement; }; interface HTMLRasaIconExternalLinkElement extends Components.RasaIconExternalLink, HTMLStencilElement { } var HTMLRasaIconExternalLinkElement: { prototype: HTMLRasaIconExternalLinkElement; new (): HTMLRasaIconExternalLinkElement; }; interface HTMLRasaIconPaperPlaneElement extends Components.RasaIconPaperPlane, HTMLStencilElement { } var HTMLRasaIconPaperPlaneElement: { prototype: HTMLRasaIconPaperPlaneElement; new (): HTMLRasaIconPaperPlaneElement; }; interface HTMLRasaIconPaperclipElement extends Components.RasaIconPaperclip, HTMLStencilElement { } var HTMLRasaIconPaperclipElement: { prototype: HTMLRasaIconPaperclipElement; new (): HTMLRasaIconPaperclipElement; }; interface HTMLRasaIconRobotElement extends Components.RasaIconRobot, HTMLStencilElement { } var HTMLRasaIconRobotElement: { prototype: HTMLRasaIconRobotElement; new (): HTMLRasaIconRobotElement; }; interface HTMLRasaImageElement extends Components.RasaImage, HTMLStencilElement { } var HTMLRasaImageElement: { prototype: HTMLRasaImageElement; new (): HTMLRasaImageElement; }; interface HTMLRasaImageMessageElement extends Components.RasaImageMessage, HTMLStencilElement { } var HTMLRasaImageMessageElement: { prototype: HTMLRasaImageMessageElement; new (): HTMLRasaImageMessageElement; }; interface HTMLRasaLinkButtonElement extends Components.RasaLinkButton, HTMLStencilElement { } var HTMLRasaLinkButtonElement: { prototype: HTMLRasaLinkButtonElement; new (): HTMLRasaLinkButtonElement; }; interface HTMLRasaQuickReplyElementEventMap { "quickReplySelected": { quickReply: QuickReply; key: number; }; } interface HTMLRasaQuickReplyElement extends Components.RasaQuickReply, HTMLStencilElement { addEventListener(type: K, listener: (this: HTMLRasaQuickReplyElement, ev: RasaQuickReplyCustomEvent) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLRasaQuickReplyElement, ev: RasaQuickReplyCustomEvent) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } var HTMLRasaQuickReplyElement: { prototype: HTMLRasaQuickReplyElement; new (): HTMLRasaQuickReplyElement; }; interface HTMLRasaRatingElementEventMap { "ratingSelected": { value: string; payload: string }; } interface HTMLRasaRatingElement extends Components.RasaRating, HTMLStencilElement { addEventListener(type: K, listener: (this: HTMLRasaRatingElement, ev: RasaRatingCustomEvent) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLRasaRatingElement, ev: RasaRatingCustomEvent) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } var HTMLRasaRatingElement: { prototype: HTMLRasaRatingElement; new (): HTMLRasaRatingElement; }; interface HTMLRasaSessionDividerElement extends Components.RasaSessionDivider, HTMLStencilElement { } var HTMLRasaSessionDividerElement: { prototype: HTMLRasaSessionDividerElement; new (): HTMLRasaSessionDividerElement; }; interface HTMLRasaTextElementEventMap { "linkClicked": undefined; "textStreamComplete": { value: true }; } interface HTMLRasaTextElement extends Components.RasaText, HTMLStencilElement { addEventListener(type: K, listener: (this: HTMLRasaTextElement, ev: RasaTextCustomEvent) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLRasaTextElement, ev: RasaTextCustomEvent) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } var HTMLRasaTextElement: { prototype: HTMLRasaTextElement; new (): HTMLRasaTextElement; }; interface HTMLRasaTextMessageElement extends Components.RasaTextMessage, HTMLStencilElement { } var HTMLRasaTextMessageElement: { prototype: HTMLRasaTextMessageElement; new (): HTMLRasaTextMessageElement; }; interface HTMLRasaTypingIndicatorElement extends Components.RasaTypingIndicator, HTMLStencilElement { } var HTMLRasaTypingIndicatorElement: { prototype: HTMLRasaTypingIndicatorElement; new (): HTMLRasaTypingIndicatorElement; }; interface HTMLRasaVideoElement extends Components.RasaVideo, HTMLStencilElement { } var HTMLRasaVideoElement: { prototype: HTMLRasaVideoElement; new (): HTMLRasaVideoElement; }; interface HTMLElementTagNameMap { "chat-message": HTMLChatMessageElement; "error-toast": HTMLErrorToastElement; "global-error-handler": HTMLGlobalErrorHandlerElement; "rasa-accordion": HTMLRasaAccordionElement; "rasa-button": HTMLRasaButtonElement; "rasa-carousel": HTMLRasaCarouselElement; "rasa-chat-input": HTMLRasaChatInputElement; "rasa-chatbot-widget": HTMLRasaChatbotWidgetElement; "rasa-conversation-feedback": HTMLRasaConversationFeedbackElement; "rasa-file-download-message": HTMLRasaFileDownloadMessageElement; "rasa-icon-arrows-contract": HTMLRasaIconArrowsContractElement; "rasa-icon-arrows-expand": HTMLRasaIconArrowsExpandElement; "rasa-icon-chat": HTMLRasaIconChatElement; "rasa-icon-chevron-down": HTMLRasaIconChevronDownElement; "rasa-icon-close-chat": HTMLRasaIconCloseChatElement; "rasa-icon-danger": HTMLRasaIconDangerElement; "rasa-icon-default-image-fallback": HTMLRasaIconDefaultImageFallbackElement; "rasa-icon-external-link": HTMLRasaIconExternalLinkElement; "rasa-icon-paper-plane": HTMLRasaIconPaperPlaneElement; "rasa-icon-paperclip": HTMLRasaIconPaperclipElement; "rasa-icon-robot": HTMLRasaIconRobotElement; "rasa-image": HTMLRasaImageElement; "rasa-image-message": HTMLRasaImageMessageElement; "rasa-link-button": HTMLRasaLinkButtonElement; "rasa-quick-reply": HTMLRasaQuickReplyElement; "rasa-rating": HTMLRasaRatingElement; "rasa-session-divider": HTMLRasaSessionDividerElement; "rasa-text": HTMLRasaTextElement; "rasa-text-message": HTMLRasaTextMessageElement; "rasa-typing-indicator": HTMLRasaTypingIndicatorElement; "rasa-video": HTMLRasaVideoElement; } } declare namespace LocalJSX { interface ChatMessage { /** * Show sender icon */ "hideSenderIcon"?: boolean; /** * Who sent the message */ "sender"?: 'user' | 'bot'; /** * Show message timestamp */ "showTimestamp"?: boolean; /** * Message timestamp */ "timestamp"?: Date; } interface ErrorToast { } interface GlobalErrorHandler { } interface RasaAccordion { /** * Represents the label property of an Accordion component. The label serves as the title or heading for accordion. */ "label"?: string; } interface RasaButton { /** * Is button selected as option */ "isSelected"?: boolean; /** * On button click event emitter */ "onButtonClickHandler"?: (event: RasaButtonCustomEvent<{ value: string }>) => void; /** * Additional value that is passed at button click */ "reply"?: string; } interface RasaCarousel { /** * List of carousel elements */ "elements"?: CarouselElement[]; /** * User clicked on link */ "onLinkClicked"?: (event: RasaCarouselCustomEvent) => void; } interface RasaChatInput { /** * Input value */ "initialValue"?: string; /** * Send message event */ "onSendMessageHandler"?: (event: RasaChatInputCustomEvent) => void; } interface RasaChatbotWidget { /** * User authentication token */ "authenticationToken"?: string; /** * If set to True, it will open the chat, triggering the 'initialPayload' immediately if set. */ "autoOpen"?: boolean; /** * Static icon for the chatbot */ "botIcon"?: string; /** * Indicates if a message timestamp should be displayed */ "displayTimestamp"?: boolean; /** * If set to True, shows conversation feedback component at the bottom of the chat. */ "enableFeedback"?: boolean; /** * Message that should be displayed if an error occurs */ "errorMessage"?: string; /** * Text for the feedback question. If empty, feedback component will not be shown. */ "feedbackQuestionText"?: string; /** * Text for the thank you message after feedback submission. If empty, no thank you message will be shown. */ "feedbackThankYouText"?: string; /** * Font family to use for the widget. Defaults to 'Lato, sans-serif' */ "fontFamily"?: string; /** * Data that should be sent on Chat Widget initialization */ "initialPayload"?: string; /** * Message placeholder for input */ "inputMessagePlaceholder"?: string; /** * Indicates time between message is received and printed. */ "messageDelay"?: number; /** * Format of the message timestamp */ "messageTimestamp"?: string; /** * Emitted when the Chat Widget is opened by the user */ "onChatSessionStarted"?: (event: RasaChatbotWidgetCustomEvent<{ sessionId: string }>) => void; /** * Emitted when the Chat Widget is closed by the user */ "onChatWidgetClosed"?: (event: RasaChatbotWidgetCustomEvent) => void; /** * Emitted when conversation feedback is submitted. */ "onChatWidgetFeedbackSubmitted"?: (event: RasaChatbotWidgetCustomEvent<{ rating: 'positive' | 'negative'; helpful: boolean }>) => void; /** * Emitted when a user is starting to download a file. */ "onChatWidgetFileStartedDownload"?: (event: RasaChatbotWidgetCustomEvent) => void; /** * Emitted when a user clicks on a hyperlink option. */ "onChatWidgetHyperlinkClicked"?: (event: RasaChatbotWidgetCustomEvent) => void; /** * Emitted when the Chat Widget is opened by the user */ "onChatWidgetOpened"?: (event: RasaChatbotWidgetCustomEvent) => void; /** * Emitted when the user click on quick reply */ "onChatWidgetQuickReply"?: (event: RasaChatbotWidgetCustomEvent) => void; /** * Emitted when the user receives a message */ "onChatWidgetReceivedMessage"?: (event: RasaChatbotWidgetCustomEvent) => void; /** * Emitted when the user sends a message */ "onChatWidgetSentMessage"?: (event: RasaChatbotWidgetCustomEvent) => void; /** * If set to True, instead of the default WebSocket communication, the widget will use the HTTP protocol. */ "restEnabled"?: boolean; /** * ID of a user engaged with the Chat Widget */ "senderId"?: string; /** * Url of the Rasa chatbot backend server (example: https://example.com) */ "serverUrl": string; /** * Text to display before the session start date in session divider */ "sessionStartedText"?: string; /** * If set to True, bot messages will be received as stream (printing word by word). */ "streamMessages"?: boolean; /** * Indicates whether the chat messenger can be toggled to full screen mode. */ "toggleFullScreen"?: boolean; /** * Static icon for the widget */ "widgetIcon"?: string; /** * Title of the Chat Widget */ "widgetTitle"?: string; } interface RasaConversationFeedback { /** * Event emitted when feedback is submitted */ "onFeedbackSubmitted"?: (event: RasaConversationFeedbackCustomEvent<{ rating: 'positive' | 'negative'; helpful: boolean }>) => void; /** * Text for the feedback question. If empty, component will not be shown. */ "questionText"?: string; /** * Whether the feedback component should be shown */ "show"?: boolean; /** * Whether the feedback has been submitted */ "submitted"?: boolean; /** * Text for the thank you message. If empty, no thank you message will be shown. */ "thankYouText"?: string; } interface RasaFileDownloadMessage { /** * The file name for the downloaded file */ "fileName"?: string; /** * URL of the file to download */ "fileUrl"?: string; /** * User clicked on file download */ "onFileDownloadStarted"?: (event: RasaFileDownloadMessageCustomEvent) => void; /** * Message text */ "text"?: string; } interface RasaIconArrowsContract { /** * (optional) When using the icon standalone, make it meaningful for accessibility */ "accessibilityTitle"?: string; /** * (optional) Alias for `fill` */ "color"?: string; /** * (optional) If `true` the SVG element will get `aria-hidden="true"` */ "decorative"?: boolean; /** * (optional) Sets the icon color via the `fill` attribute */ "fill"?: string; /** * (optional) The width and height in pixels */ "size"?: number; } interface RasaIconArrowsExpand { /** * (optional) When using the icon standalone, make it meaningful for accessibility */ "accessibilityTitle"?: string; /** * (optional) Alias for `fill` */ "color"?: string; /** * (optional) If `true` the SVG element will get `aria-hidden="true"` */ "decorative"?: boolean; /** * (optional) Sets the icon color via the `fill` attribute */ "fill"?: string; /** * (optional) The width and height in pixels */ "size"?: number; } interface RasaIconChat { /** * (optional) When using the icon standalone, make it meaningful for accessibility */ "accessibilityTitle"?: string; /** * (optional) Alias for `fill` */ "color"?: string; /** * (optional) If `true` the SVG element will get `aria-hidden="true"` */ "decorative"?: boolean; /** * (optional) Sets the icon color via the `fill` attribute */ "fill"?: string; /** * (optional) The width and height in pixels */ "size"?: number; } interface RasaIconChevronDown { /** * (optional) When using the icon standalone, make it meaningful for accessibility */ "accessibilityTitle"?: string; /** * (optional) Alias for `fill` */ "color"?: string; /** * (optional) If `true` the SVG element will get `aria-hidden="true"` */ "decorative"?: boolean; /** * (optional) Sets the icon color via the `fill` attribute */ "fill"?: string; /** * (optional) The width and height in pixels */ "size"?: number; } interface RasaIconCloseChat { /** * (optional) When using the icon standalone, make it meaningful for accessibility */ "accessibilityTitle"?: string; /** * (optional) Alias for `fill` */ "color"?: string; /** * (optional) If `true` the SVG element will get `aria-hidden="true"` */ "decorative"?: boolean; /** * (optional) Sets the icon color via the `fill` attribute */ "fill"?: string; /** * (optional) The width and height in pixels */ "size"?: number; } interface RasaIconDanger { /** * (optional) When using the icon standalone, make it meaningful for accessibility */ "accessibilityTitle"?: string; /** * (optional) Alias for `fill` */ "color"?: string; /** * (optional) If `true` the SVG element will get `aria-hidden="true"` */ "decorative"?: boolean; /** * (optional) Sets the icon color via the `fill` attribute */ "fill"?: string; /** * (optional) The width and height in pixels */ "size"?: number; } interface RasaIconDefaultImageFallback { /** * (optional) When using the icon standalone, make it meaningful for accessibility */ "accessibilityTitle"?: string; /** * (optional) Alias for `fill` */ "color"?: string; /** * (optional) If `true` the SVG element will get `aria-hidden="true"` */ "decorative"?: boolean; /** * (optional) Sets the icon color via the `fill` attribute */ "fill"?: string; /** * (optional) The width and height in pixels */ "size"?: number; } interface RasaIconExternalLink { /** * (optional) When using the icon standalone, make it meaningful for accessibility */ "accessibilityTitle"?: string; /** * (optional) Alias for `fill` */ "color"?: string; /** * (optional) If `true` the SVG element will get `aria-hidden="true"` */ "decorative"?: boolean; /** * (optional) Sets the icon color via the `fill` attribute */ "fill"?: string; /** * (optional) The width and height in pixels */ "size"?: number; } interface RasaIconPaperPlane { /** * (optional) When using the icon standalone, make it meaningful for accessibility */ "accessibilityTitle"?: string; /** * (optional) Alias for `fill` */ "color"?: string; /** * (optional) If `true` the SVG element will get `aria-hidden="true"` */ "decorative"?: boolean; /** * (optional) Sets the icon color via the `fill` attribute */ "fill"?: string; /** * (optional) The width and height in pixels */ "size"?: number; } interface RasaIconPaperclip { /** * (optional) When using the icon standalone, make it meaningful for accessibility */ "accessibilityTitle"?: string; /** * (optional) Alias for `fill` */ "color"?: string; /** * (optional) If `true` the SVG element will get `aria-hidden="true"` */ "decorative"?: boolean; /** * (optional) Sets the icon color via the `fill` attribute */ "fill"?: string; /** * (optional) The width and height in pixels */ "size"?: number; } interface RasaIconRobot { /** * (optional) When using the icon standalone, make it meaningful for accessibility */ "accessibilityTitle"?: string; /** * (optional) Alias for `fill` */ "color"?: string; /** * (optional) If `true` the SVG element will get `aria-hidden="true"` */ "decorative"?: boolean; /** * (optional) Sets the icon color via the `fill` attribute */ "fill"?: string; /** * (optional) The width and height in pixels */ "size"?: number; } interface RasaImage { /** * Alt text for the image */ "alt"?: string; /** * Image height */ "height"?: number | string; /** * Image source */ "src"?: string; /** * Image width */ "width"?: number | string; } interface RasaImageMessage { /** * Image height */ "height"?: number | string; /** * Alt text for the image */ "imageAlt"?: string; /** * Image source */ "imageSrc"?: string; /** * Is another component using it as child component */ "isChild"?: boolean; /** * Message text */ "text"?: string; /** * Image width */ "width"?: number | string; } interface RasaLinkButton { /** * Is button selected as option */ "isSelected"?: boolean; /** * Href value for the link button */ "link"?: string; } interface RasaQuickReply { /** * Element key */ "elementKey"?: number; /** * Is message form history */ "isHistory"?: boolean; /** * Message value */ "message"?: QuickReplyMessage; /** * Quick reply selected */ "onQuickReplySelected"?: (event: RasaQuickReplyCustomEvent<{ quickReply: QuickReply; key: number; }>) => void; /** * Element unique id */ "quickReplyId"?: string; } interface RasaRating { /** * Customizable message from Rasa (Previously thankYouMessage) */ "message"?: string; /** * Event emitted when a rating is selected */ "onRatingSelected"?: (event: RasaRatingCustomEvent<{ value: string; payload: string }>) => void; /** * List of rating options from Rasa */ "options"?: string | { value: string; payload: string }[]; /** * Instructional text for the rating component */ "text"?: string; } interface RasaSessionDivider { /** * Session start datetime */ "sessionStartDate"?: Date; /** * Text to display before the session start date */ "sessionStartedText"?: string; } interface RasaText { /** * Disables text parsing (renders text as is, not markdown) */ "disableParsing"?: boolean; /** * Disables text stream rendering */ "enableStream"?: boolean; /** * Should component notify messageQueueService at complete rendering */ "notifyCompleteRendering"?: boolean; /** * User clicked on link */ "onLinkClicked"?: (event: RasaTextCustomEvent) => void; /** * Trigger on stream complete */ "onTextStreamComplete"?: (event: RasaTextCustomEvent<{ value: true }>) => void; /** * Text value */ "value"?: string; } interface RasaTextMessage { /** * Is message form history */ "isHistory"?: boolean; /** * Who sent the message */ "sender"?: SenderType; /** * Message value */ "value"?: string; } interface RasaTypingIndicator { } interface RasaVideo { /** * Autoplay on load */ "autoplay"?: boolean; /** * Video player controls */ "disableControls"?: boolean; /** * Loop video */ "loop"?: boolean; /** * Mute video */ "mute"?: boolean; /** * Video source url */ "src"?: string; } interface IntrinsicElements { "chat-message": ChatMessage; "error-toast": ErrorToast; "global-error-handler": GlobalErrorHandler; "rasa-accordion": RasaAccordion; "rasa-button": RasaButton; "rasa-carousel": RasaCarousel; "rasa-chat-input": RasaChatInput; "rasa-chatbot-widget": RasaChatbotWidget; "rasa-conversation-feedback": RasaConversationFeedback; "rasa-file-download-message": RasaFileDownloadMessage; "rasa-icon-arrows-contract": RasaIconArrowsContract; "rasa-icon-arrows-expand": RasaIconArrowsExpand; "rasa-icon-chat": RasaIconChat; "rasa-icon-chevron-down": RasaIconChevronDown; "rasa-icon-close-chat": RasaIconCloseChat; "rasa-icon-danger": RasaIconDanger; "rasa-icon-default-image-fallback": RasaIconDefaultImageFallback; "rasa-icon-external-link": RasaIconExternalLink; "rasa-icon-paper-plane": RasaIconPaperPlane; "rasa-icon-paperclip": RasaIconPaperclip; "rasa-icon-robot": RasaIconRobot; "rasa-image": RasaImage; "rasa-image-message": RasaImageMessage; "rasa-link-button": RasaLinkButton; "rasa-quick-reply": RasaQuickReply; "rasa-rating": RasaRating; "rasa-session-divider": RasaSessionDivider; "rasa-text": RasaText; "rasa-text-message": RasaTextMessage; "rasa-typing-indicator": RasaTypingIndicator; "rasa-video": RasaVideo; } } export { LocalJSX as JSX }; declare module "@stencil/core" { export namespace JSX { interface IntrinsicElements { "chat-message": LocalJSX.ChatMessage & JSXBase.HTMLAttributes; "error-toast": LocalJSX.ErrorToast & JSXBase.HTMLAttributes; "global-error-handler": LocalJSX.GlobalErrorHandler & JSXBase.HTMLAttributes; "rasa-accordion": LocalJSX.RasaAccordion & JSXBase.HTMLAttributes; "rasa-button": LocalJSX.RasaButton & JSXBase.HTMLAttributes; "rasa-carousel": LocalJSX.RasaCarousel & JSXBase.HTMLAttributes; "rasa-chat-input": LocalJSX.RasaChatInput & JSXBase.HTMLAttributes; "rasa-chatbot-widget": LocalJSX.RasaChatbotWidget & JSXBase.HTMLAttributes; "rasa-conversation-feedback": LocalJSX.RasaConversationFeedback & JSXBase.HTMLAttributes; "rasa-file-download-message": LocalJSX.RasaFileDownloadMessage & JSXBase.HTMLAttributes; "rasa-icon-arrows-contract": LocalJSX.RasaIconArrowsContract & JSXBase.HTMLAttributes; "rasa-icon-arrows-expand": LocalJSX.RasaIconArrowsExpand & JSXBase.HTMLAttributes; "rasa-icon-chat": LocalJSX.RasaIconChat & JSXBase.HTMLAttributes; "rasa-icon-chevron-down": LocalJSX.RasaIconChevronDown & JSXBase.HTMLAttributes; "rasa-icon-close-chat": LocalJSX.RasaIconCloseChat & JSXBase.HTMLAttributes; "rasa-icon-danger": LocalJSX.RasaIconDanger & JSXBase.HTMLAttributes; "rasa-icon-default-image-fallback": LocalJSX.RasaIconDefaultImageFallback & JSXBase.HTMLAttributes; "rasa-icon-external-link": LocalJSX.RasaIconExternalLink & JSXBase.HTMLAttributes; "rasa-icon-paper-plane": LocalJSX.RasaIconPaperPlane & JSXBase.HTMLAttributes; "rasa-icon-paperclip": LocalJSX.RasaIconPaperclip & JSXBase.HTMLAttributes; "rasa-icon-robot": LocalJSX.RasaIconRobot & JSXBase.HTMLAttributes; "rasa-image": LocalJSX.RasaImage & JSXBase.HTMLAttributes; "rasa-image-message": LocalJSX.RasaImageMessage & JSXBase.HTMLAttributes; "rasa-link-button": LocalJSX.RasaLinkButton & JSXBase.HTMLAttributes; "rasa-quick-reply": LocalJSX.RasaQuickReply & JSXBase.HTMLAttributes; "rasa-rating": LocalJSX.RasaRating & JSXBase.HTMLAttributes; "rasa-session-divider": LocalJSX.RasaSessionDivider & JSXBase.HTMLAttributes; "rasa-text": LocalJSX.RasaText & JSXBase.HTMLAttributes; "rasa-text-message": LocalJSX.RasaTextMessage & JSXBase.HTMLAttributes; "rasa-typing-indicator": LocalJSX.RasaTypingIndicator & JSXBase.HTMLAttributes; "rasa-video": LocalJSX.RasaVideo & JSXBase.HTMLAttributes; } } }