import { ElementRef } from '@angular/core'; import { GtrToasterEvent } from './util/gtr-toaster.util'; import { Subscription } from 'rxjs'; import { GtrToasterService } from './services/gtr-toaster.service'; import * as i0 from "@angular/core"; export declare class GtrToasterComponent { private toasterV2Service; id: string; testId: string; dataTransactionName: string; toasterElement?: ElementRef; duration: number; toasterData: GtrToasterEvent; open: boolean; timeout: any; resolvePromise: (data?: any) => void; toastSubscription: Subscription; constructor(toasterV2Service: GtrToasterService); ngOnInit(): void; ngOnDestroy(): void; showToast(config: any, duration: number, data?: any): Promise; scheduleHideToast(duration: number): void; hideToast(): void; handleKeyDown(event: KeyboardEvent): void; subscribeToToasts(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }