import * as React from 'react'; type ToastType = 'info' | 'warning' | 'success' | 'error' | 'loading'; interface ToastOptions { readonly id?: string | number; readonly title?: string; readonly description?: string; readonly type?: ToastType; readonly duration?: number; readonly action?: { readonly label: string; readonly onClick: () => void; }; readonly onStatusChange?: (details: { readonly status: string; }) => void; } declare const remove: (id: string | number) => void; declare const create: (opts: ToastOptions) => string | number; declare const update: (id: string | number, opts: ToastOptions) => void; export declare const toaster: { readonly create: typeof create; readonly success: (opts: ToastOptions) => string | number; readonly error: (opts: ToastOptions) => string | number; readonly loading: (opts: ToastOptions) => string | number; readonly update: typeof update; readonly remove: typeof remove; }; export declare const Toaster: React.FC; export {}; //# sourceMappingURL=toaster.d.ts.map