react-chatbotify
Version:
A modern React library for creating flexible and extensible chatbots.
11 lines • 540 B
TypeScript
import { EventDetail } from "../types/internal/events/EventDetail";
import { RcbBaseEvent } from "../types/internal/events/RcbBaseEvent";
import { RcbEvent } from "../constants/RcbEvent";
/**
* Emits a custom event with specified name, detail and data.
*
* @param eventName name of the event to emit
* @param eventDetail additional data to include with the event.
*/
export declare const emitRcbEvent: (eventName: RcbEvent, eventDetail: EventDetail, data: object) => Promise<RcbBaseEvent>;
//# sourceMappingURL=RcbEventService.d.ts.map