UNPKG

sandeep-react-chatbotify

Version:

A modern React library for creating flexible and extensible chatbots.

13 lines 639 B
import { Message } from "../types/Message"; import { Settings } from "../types/Settings"; /** * Handles logic for whether a bot message should be read out. * * @param settings options provided to the bot * @param voiceToggledOn boolean indicating if voice is toggled on * @param isChatWindowOpen boolean indicating if chat window is open * @param message message to read out * @param useMarkup boolean indicating if markup is used */ export declare const processAudio: (settings: Settings, voiceToggledOn: boolean, isChatWindowOpen: boolean, message: Message, useMarkup: boolean) => void; //# sourceMappingURL=AudioService.d.ts.map