/** * @license * Copyright Datorama. All Rights Reserved. * * Use of this source code is governed by an Apache License 2.0 license that can be * found in the LICENSE file at https://github.com/datorama/client-core/blob/master/LICENSE */ import { ApplicationRef, ComponentFactoryResolver, Injector } from '@angular/core'; import { DatoTranslateService } from '../services/translate.service'; import { ToastRef } from './toast-ref'; import { ContentType } from '../dynamic-content/dynamic-content.types'; import { ToastOptions } from './toast.types'; export declare class DatoToast { private translate; private appRef; private resolver; private injector; private document; private contentRef; private component; private nativeElement; private toasts; private container; constructor(translate: DatoTranslateService, appRef: ApplicationRef, resolver: ComponentFactoryResolver, injector: Injector, document: any); open(content: ContentType, options?: Partial): ToastRef; private destroy; private createContainer; }