import { AfterViewInit, ElementRef, EventEmitter, OnDestroy } from '@angular/core';
import { ToastService } from './toast.service';
import { Subscription } from 'rxjs';
export interface Message {
    severity?: string;
    summary?: string;
    detail?: string;
    id?: any;
}
export declare class ToastComponent implements AfterViewInit, OnDestroy {
    el: ElementRef;
    toastService: ToastService;
    sticky: boolean;
    life: any;
    style: any;
    styleClass: string;
    closeEvent: EventEmitter<any>;
    valueChange: EventEmitter<Message[]>;
    containerViewChild: ElementRef;
    readonly _life: any;
    _value: Array<Message>;
    zIndex: number;
    container: HTMLDivElement;
    timeout: any;
    timestamp: number;
    clickSub: any;
    subItem: Subscription;
    constructor(el: ElementRef, toastService: ToastService);
    ngAfterViewInit(): void;
    value: Array<Message>;
    handleValueChange(): void;
    interrupt(index: number): void;
    resetDelay(fn: Function): void;
    remove(index: number, msgel: any): void;
    removeAll(): void;
    removeThrottle(index: number, msgel: any): void;
    removeReset(): void;
    ngOnDestroy(): void;
}
