import { ContentProjectionService, LocalizationParam, Strict } from '@abp/ng.core'; import { Toaster } from '../models'; import * as i0 from "@angular/core"; export declare class ToasterService implements ToasterContract { private contentProjectionService; private toasts$; private lastId; private toasts; private containerComponentRef; constructor(contentProjectionService: ContentProjectionService); private setContainer; /** * Creates an info toast with given parameters. * @param message Content of the toast * @param title Title of the toast * @param options Spesific style or structural options for individual toast */ info(message: LocalizationParam, title?: LocalizationParam, options?: Partial): Toaster.ToasterId; /** * Creates a success toast with given parameters. * @param message Content of the toast * @param title Title of the toast * @param options Spesific style or structural options for individual toast */ success(message: LocalizationParam, title?: LocalizationParam, options?: Partial): Toaster.ToasterId; /** * Creates a warning toast with given parameters. * @param message Content of the toast * @param title Title of the toast * @param options Spesific style or structural options for individual toast */ warn(message: LocalizationParam, title?: LocalizationParam, options?: Partial): Toaster.ToasterId; /** * Creates an error toast with given parameters. * @param message Content of the toast * @param title Title of the toast * @param options Spesific style or structural options for individual toast */ error(message: LocalizationParam, title?: LocalizationParam, options?: Partial): Toaster.ToasterId; /** * Creates a toast with given parameters. * @param message Content of the toast * @param title Title of the toast * @param severity Sets color of the toast. "success", "warning" etc. * @param options Spesific style or structural options for individual toast */ show(message: LocalizationParam, title?: LocalizationParam | undefined, severity?: Toaster.Severity, options?: Partial): Toaster.ToasterId; /** * Removes the toast with given id. * @param id ID of the toast to be removed. */ remove: (id: number) => void; /** * Removes all open toasts at once. */ clear(containerKey?: string): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } export declare type ToasterContract = Strict;