import { EventEmitter } from '../../../stencil.core';
import { ToastConfig, ToastContext } from '../../../types/types';
export declare class Toast {
    private static closeDelay;
    private static toastTime;
    private autoTimer;
    element: HTMLAnjToastElement;
    active: boolean;
    /**
     * The toast context which defaults to intro.
     * Options are: "success"`, `"danger"`, `"warn"`, and `"info"`.
     */
    context?: ToastContext;
    /**
     * The message to display
     */
    message: string;
    /**
     * The title, which is optional
     */
    header: string;
    autoDismiss: Promise<void>;
    /**
     * Fires when the checked state is changed
     */
    anjToastDidDismiss: EventEmitter<ToastConfig>;
    componentDidLoad(): Promise<void>;
    componentDidRender(): Promise<void>;
    /**
     * Dismiss the toast
     */
    dismiss(): Promise<void>;
    private toConfig;
    render(): any;
}
