/** * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE */ import { Overlay } from '@angular/cdk/overlay'; import { Injector, TemplateRef } from '@angular/core'; import { VtsSingletonService } from '@ui-vts-kit/ng-vts/core/services'; import { VtsMNService } from '@ui-vts-kit/ng-vts/message'; import { VtsToastContainerComponent } from './toast-container.component'; import { VtsToastDataOptions, VtsToastRef } from './typings'; import * as i0 from "@angular/core"; export declare class VtsToastService extends VtsMNService { protected container: VtsToastContainerComponent; protected componentPrefix: string; constructor(vtsSingletonService: VtsSingletonService, overlay: Overlay, injector: Injector); success(title: string, content: string, options?: VtsToastDataOptions): VtsToastRef; error(title: string, content: string, options?: VtsToastDataOptions): VtsToastRef; info(title: string, content: string, options?: VtsToastDataOptions): VtsToastRef; warning(title: string, content: string, options?: VtsToastDataOptions): VtsToastRef; create(type: 'success' | 'info' | 'warning' | 'error', title: string, content: string, options?: VtsToastDataOptions): VtsToastRef; template(template: TemplateRef<{}>, options?: VtsToastDataOptions): VtsToastRef; protected generateMessageId(): string; private createInstance; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }