/** * @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 { ElementRef, EventEmitter, OnInit, Renderer2 } from '@angular/core'; import { SnackbarOptions, SnackbarType } from './snackbar.types'; import { SnackbarRefDismiss } from './snackbar-ref'; export declare class DatoSnackbarComponent implements OnInit { private renderer; private host; options: SnackbarOptions; type: SnackbarType; icon: 'checkmark' | 'alert' | string; showLeftIcon: boolean; close: EventEmitter; private closedByAction; private animate; onAnimationEnd({ animationName }: { animationName: any; }): void; get dismissible(): boolean; get duration(): number; get element(): any; constructor(renderer: Renderer2, host: ElementRef); ngOnInit(): void; onClose(): void; /** * * @param {SnackbarType} type * @returns {boolean} */ private isInfo; /** * * @param {SnackbarType} type * @returns {boolean} */ private isSuccess; /** * * @param {SnackbarType} type * @returns {string} */ private resolveIcon; }