import { Toast, ExtendedToastOptions } from './Toast.types'; export declare enum ToastStoreActionType { ADD_TOAST = "TOAST/ADD_TOAST", UPDATE_TOAST = "TOAST/UPDATE_TOAST", UPSERT_TOAST = "TOAST/UPSERT_TOAST", DISMISS_TOAST = "TOAST/DISMISS_TOAST", REMOVE_TOAST = "TOAST/REMOVE_TOAST", START_PAUSE = "TOAST/START_PAUSE", END_PAUSE = "TOAST/END_PAUSE" } declare type GenericAction> = { type: TActionType; payload: TPayload; }; declare type ToastStoreAction = GenericAction | GenericAction | GenericAction; }> | GenericAction | GenericAction | GenericAction | GenericAction; interface ToastState { toasts: Toast[]; pausedAt: number | undefined; } export declare const dispatch: (action: ToastStoreAction) => void; export declare const useToastStore: (toastOptions?: ExtendedToastOptions) => ToastState; export {};