import * as i0 from '@angular/core'; type ToastType = 'success' | 'info' | 'warning' | 'error'; interface ToastData { id: string; type: ToastType; title?: string; message: string | string[]; duration: number; actionLabel?: string; onAction?: () => void; /** * Render `message` dưới dạng HTML thay vì text. * - `false` (mặc định): message render dạng TEXT (auto-escape) — an toàn tuyệt đối. * - `true`: message render dạng HTML, đã được `DomSanitizer.sanitize(HTML)` * (strip `