import { IWelcomeMessage } from '../WelcomeMessage'; import { INewFooter } from '../NewFooter'; import { HeaderProps } from '../Header'; import { Nullish } from '../../types'; export interface INewChat extends React.PropsWithChildren { welcomeMessageProps: IWelcomeMessage; headerProps: HeaderProps; footerProps: Omit; /** * If true, shows audio interface controls. */ audioInterface?: boolean; /** * If true, the user is using a mobile device. */ isMobile?: boolean; /** * A unix timestamp indicating the start of the conversation. */ startTime?: Nullish; /** * A callback that is executed when the chat widget is minimized. */ onMinimize?: React.MouseEventHandler; /** * A callback that is executed when the conversation ends. */ onEnd?: React.MouseEventHandler; onToggleAudioOutput?: React.MouseEventHandler; /** * If true, the conversation was ended by the agent. */ hasEnded: boolean; /** * A callback to start a new conversation. */ onStart?: (() => Promise) | undefined; } export declare const NewChat: import('react').FC & { Container: import('react').FC; }; //# sourceMappingURL=index.d.ts.map