import { ElementRef, OnInit, Renderer2 } from "@angular/core"; import { MatLegacySnackBar as MatSnackBar } from "@angular/material/legacy-snack-bar"; import { StarkLoggingService } from "@nationalbankbelgium/stark-core"; import { StarkToastMessage } from "./toast-message.intf"; import { AbstractStarkUiComponent } from "@nationalbankbelgium/stark-ui/src/internal-common"; import * as i0 from "@angular/core"; /** * Component display stark's toast notification (based on Angular Material's MatSnackBar) with custom html */ export declare class StarkToastNotificationComponent extends AbstractStarkUiComponent implements OnInit { logger: StarkLoggingService; snackBar: MatSnackBar; data: StarkToastMessage; /** * The message data linked to the toast notification. */ message: StarkToastMessage; /** * Class constructor * @param logger - The `StarkLoggingService` instance of the application. * @param snackBar - Tha snackBar used to display the toast * @param data - The data linked to the toast notification * @param renderer - Angular `Renderer2` wrapper for DOM manipulations. * @param elementRef - Reference to the DOM element where this component is attached to. */ constructor(logger: StarkLoggingService, snackBar: MatSnackBar, data: StarkToastMessage, renderer: Renderer2, elementRef: ElementRef); /** * Component lifecycle hook */ ngOnInit(): void; /** * Closes the toast */ closeToast(): void; /** * Generate the CSS class of the toast notification based on its type * @returns A string containing the CSS class of the toast notification */ getMessageTypeClass(): string; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }