sandeep-react-chatbotify
Version:
A modern React library for creating flexible and extensible chatbots.
13 lines • 437 B
TypeScript
/**
* Parses message that has markup enabled (holds html tags as individual elements to enable smooth streaming).
*
* @param message message to parse
*/
export declare const parseMarkupMessage: (message: string) => string[];
/**
* Strips HTML tags from a string using DOMParser.
*
* @param html HTML string to strip tags from
*/
export declare const stripHtml: (html: string) => string;
//# sourceMappingURL=markupParser.d.ts.map