UNPKG

react-chatbotify

Version:

A modern React library for creating flexible and extensible chatbots.

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