sandeep-react-chatbotify
Version:
A modern React library for creating flexible and extensible chatbots.
25 lines • 972 B
TypeScript
import { Settings } from "../types/Settings";
import { Styles } from "../types/Styles";
import { Flow } from "../types/Flow";
import { Theme } from "../types/Theme";
import { Plugin } from "../types/Plugin";
/**
* Determines if user gave a provider or if one needs to be created, before rendering the chatbot.
*
* @param id id to uniquely identify the chatbot
* @param flow conversation flow for the bot
* @param settings settings to setup the bot
* @param styles styles to setup the bot
* @param themes themes to apply to the bot
* @param plugins plugins to initialize
*/
declare const ChatBot: ({ id, flow, settings, styles, themes, plugins, }: {
id?: string | undefined;
flow?: Flow | undefined;
settings?: Settings | undefined;
styles?: Styles | undefined;
themes?: Theme | Theme[] | undefined;
plugins?: Plugin[] | undefined;
}) => import("react/jsx-runtime").JSX.Element;
export default ChatBot;
//# sourceMappingURL=ChatBot.d.ts.map