import { OnInit, ApplicationRef } from '@angular/core'; import { DomSanitizer } from '@angular/platform-browser'; import { Toast, ToastData, ToastrService, ToastRef } from 'ngx-toastr'; import { CfAlertsService } from '../../services/alerts-service/alerts.service'; /** * It is private component for cf-alerts */ export declare class CfAlertComponent extends Toast implements OnInit { /**@hidden */ protected toastrService: ToastrService; /**@hidden */ data: ToastData; /**@hidden */ protected toastRef: ToastRef; /**@hidden */ protected appRef: ApplicationRef; /**@hidden */ protected sanitizer: DomSanitizer; /**@hidden */ alertsService: CfAlertsService; options: any; /**@hidden */ constructor( /**@hidden */ toastrService: ToastrService, /**@hidden */ data: ToastData, /**@hidden */ toastRef: ToastRef, /**@hidden */ appRef: ApplicationRef, /**@hidden */ sanitizer: DomSanitizer, /**@hidden */ alertsService: CfAlertsService); /**@hidden * It is function called by user on alert inform icon click to emit event by alerts service * @param id alert unique ID */ inform(id: any): void; /**@hidden * It is function called by user on alert confirm icon click to emit event by alerts service * @param id alert unique ID */ confirm(id: any): void; /**@hidden * It is function called by user on alert cancel icon click to emit event by alerts service * @param id alert unique ID */ cancel(id: any): void; /**@hidden */ ngOnInit(): void; /**@hidden * Function to set type of alert: info, warning, error */ getAlertType(): string; getDynamicClasses(element: any): string; }