import { EventEmitter } from '../../stencil-public-runtime';
export declare class Toast {
    element: HTMLBalToastElement;
    timer: NodeJS.Timeout;
    toastId: string;
    /**
     * The theme type of the toast.
     * Color type primary is deprecated, please use info instead.
     */
    color: BalProps.BalToastColor;
    /**
     * The duration of the toast in milliseconds.
     */
    duration: number;
    /**
     * If `true` the toast has a cross icon to close the toast.
     */
    closable: boolean;
    /**
     * Content message
     */
    message: string;
    /**
     * @internal Handler for on close event
     */
    closeHandler: () => void;
    /**
     * Emitted when toast is closed
     */
    balClose: EventEmitter<BalEvents.BalToastCloseDetail>;
    componentWillLoad(): Promise<void>;
    /**
     * Closes the toast after the given duration in ms
     */
    closeIn(duration: number): Promise<void>;
    /**
     * Closes this toast
     */
    close(): Promise<void>;
    render(): any;
}
