import * as React from 'react'; export interface Props { /** An optional URL for the avatar */ avatarUrl?: string; /** Background color of the avatar */ avatarBackground?: string; /** Whether the widget defaults to being open */ defaultOpen?: string | boolean; /** Font to use. User must define the font on the page */ font?: string; /** Height of the chat popup */ height?: string | number; /** Primary color */ primary?: string; /** Primary highlight color */ primaryHighlight?: string; /** Root element to which the chat window will attach */ rootElementId?: string | HTMLElement; /** JSON Web Token for accessing the bot if necessary */ token?: string; /** Websocket URL for the Rasa bot. If no path is supplied, it will default to `/socket.io`. * If a path is supplied the user must specify the full path including the `/socket.io` * directory if it exists. */ websocketUrl: string; /** Width of the chat popup */ width?: string | number; } declare function Webchat({ avatarUrl, avatarBackground, defaultOpen, font, height, primary, primaryHighlight, rootElementId, token, websocketUrl, width, }: Props): React.ReactPortal; declare namespace Webchat { var containerId: string; } export default Webchat;