import { EventEmitter } from "../../stencil-public-runtime";
import { ToastColorType, ToastTypesType } from "./constants";
import { Attributes } from "../../helpers/Dom/attribute";
export declare class GovToast {
    private h;
    private timeout;
    private readonly toastId;
    private attributeObserver;
    constructor();
    host: HTMLGovToastElement;
    /**
     * Style variation of the toast message.
     */
    readonly color?: ToastColorType;
    /**
     * Toast’s gravity
     */
    readonly gravity: "top" | "bottom";
    /**
     * Toast’s position
     */
    readonly position: "left" | "center" | "right";
    /**
     * Toast type
     */
    readonly type?: ToastTypesType;
    /**
     * Number of milliseconds to wait before Toast disappear
     */
    readonly time: number;
    /**
     * Closing button texting instead of icons
     */
    readonly closeLabel: string;
    /**
     * Aria label for the closing button. It is mandatory if the alert is closable
     */
    readonly accessibleCloseLabel: string;
    /**
     * Called when the close button is clicked
     */
    govClose: EventEmitter<string>;
    validateColor(newValue: string): void;
    inheritedAttributes: Attributes;
    componentDidLoad(): void;
    componentWillLoad(): void;
    disconnectedCallback(): void;
    onAriaAttributeChange(attributeName: string, newValue: string): void;
    private runTimer;
    render(): any;
    private onCloseHandler;
    get isBold(): boolean;
    get isTimer(): boolean;
    /**
     * Remove toast from dom
     */
    destroy(): Promise<void>;
}
