UNPKG

sandeep-react-chatbotify

Version:

A modern React library for creating flexible and extensible chatbots.

12 lines 451 B
/// <reference types="react" /> 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