const require_Toast_ToastProvider = require('./ToastProvider.cjs'); //#region src/Toast/useToastManager.ts /** * Returns the toasts of the nearest `ToastProvider` and methods to manage them. */ function useToastManager() { const { toastStore } = require_Toast_ToastProvider.injectToastProviderContext(); return { toasts: toastStore.toasts, add: toastStore.add, close: toastStore.close, update: toastStore.update, promise: toastStore.promise }; } //#endregion Object.defineProperty(exports, 'useToastManager', { enumerable: true, get: function () { return useToastManager; } }); //# sourceMappingURL=useToastManager.cjs.map