UNPKG

sandeep-react-chatbotify

Version:

A modern React library for creating flexible and extensible chatbots.

11 lines 425 B
/// <reference types="react" /> /** * External custom hook for managing toasts. */ export declare const useToasts: () => { showToast: (content: string | JSX.Element, timeout?: number | undefined) => Promise<string | null>; dismissToast: (id: string) => Promise<string | null>; toasts: import("..").Toast[]; replaceToasts: (newToasts: import("..").Toast[]) => void; }; //# sourceMappingURL=useToasts.d.ts.map