import { TemplateRef } from '@angular/core'; import { Subject } from 'rxjs'; export declare type WtMessageType = 'success' | 'info' | 'warning' | 'error' | 'loading'; export interface WtMessageDataOptions { wtDuration?: number; wtAnimate?: boolean; wtPauseOnHover?: boolean; } export interface WtMessageData { type?: WtMessageType | string; content?: string | TemplateRef; messageId?: string; createdAt?: Date; options?: WtMessageDataOptions; state?: 'enter' | 'leave'; onClose?: Subject; } export declare type WtMessageRef = Pick, 'onClose' | 'messageId'>;