@rcb-plugins/html-renderer
Version:
A simple plugin for rendering html messages in React ChatBotify.
11 lines • 632 B
TypeScript
import { Flow, RcbChunkStreamMessageEvent, RcbPreInjectMessageEvent, RcbStartSpeakAudioEvent, RcbStartStreamMessageEvent } from 'react-chatbotify';
/**
* Helper function to determine if html rendering should occur.
*
* @param event specific message send event
* @param currFlow current flow used by the chatbot
* @param sender sender of the message
*/
declare const shouldRenderHtml: (event: RcbPreInjectMessageEvent | RcbStartStreamMessageEvent | RcbChunkStreamMessageEvent | RcbStartSpeakAudioEvent, currFlow: Flow, sender: string) => boolean;
export { shouldRenderHtml };
//# sourceMappingURL=renderConditionHelper.d.ts.map