type ToastListener = (toasts: ActiveToast[]) => void; export type SizeType = 'sm' | 'md' | 'lg'; export type StatusType = 'info' | 'success' | 'warning' | 'danger' | 'default'; export type PositionType = 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right'; export interface ToastOptions { message: string; header?: string; status?: StatusType; duration?: number; icon?: string; kind?: 'filled' | 'outlined'; size?: SizeType; position?: PositionType; invert?: boolean; dismiss?: boolean; statusIcon?: boolean; } export interface ActiveToast extends ToastOptions { id: string; position: PositionType; } declare class ToastServiceController { private toasts; private listeners; private toastCounter; subscribe(listener: ToastListener): () => void; private notify; /** * Displays a toast message. * @param options - Configuration for the toast. * @returns The ID of the created toast. */ show(options: ToastOptions): string; /** * Closes a specific toast by its ID. * @param id - The ID of the toast to close. */ close(id: string): void; /** * Closes all active toasts. */ closeAll(): void; } export declare const ToastService: ToastServiceController; export {}; //# sourceMappingURL=toast.service.d.ts.map