/** * Global toast store - allows direct toast access without hooks * Similar to Sonner's approach */ import { ToastProps } from '../types'; type ToastStore = { addToast: (toast: Omit) => string; removeToast: (id: string) => void; updateToast: (id: string, updates: Partial>) => void; clearAllToasts: () => void; }; /** * Register the toast store (called by ToastProvider) */ export declare const registerToastStore: (store: ToastStore) => void; /** * Unregister the toast store (called when ToastProvider unmounts) */ export declare const unregisterToastStore: () => void; /** * Get the current toast store */ export declare const getToastStore: () => ToastStore; /** * Check if toast store is available */ export declare const isToastStoreAvailable: () => boolean; export {};