import { PluginObject } from 'vue';
import { BackdropMode, PortalMixinImpl } from '../../mixins/portal/portal';
import { ModulVue } from '../../utils/vue/vue';
export declare enum MToastTimeout {
    none = "none",
    xshort = "xshort",
    short = "short",
    long = "long"
}
export declare enum MToastPosition {
    TopLeft = "top-left",
    TopCenter = "top-center",
    TopRight = "top-right",
    BottomLeft = "bottom-left",
    BottomCenter = "bottom-center",
    BottomRight = "bottom-right"
}
export declare enum MToastState {
    Confirmation = "confirmation",
    Information = "information",
    Warning = "warning",
    Error = "error"
}
export declare enum MToastDuration {
    MobileLong = 5000,
    MobileShort = 3000,
    MobileXShort = 1500,
    DesktopLong = 8000,
    DesktopShort = 5000,
    DesktopXShort = 2500,
    None = 0
}
export declare class MToast extends ModulVue implements PortalMixinImpl {
    state: MToastState;
    position: MToastPosition;
    timeout: MToastTimeout;
    open: boolean;
    actionLabel: string;
    icon: boolean;
    offset: string;
    closeButton: boolean;
    $refs: {
        toast: HTMLElement;
    };
    private buttonMode;
    private timerCloseToast;
    private internalTimeout;
    private instantTimeoutStart;
    doCustomPropOpen(value: boolean, el: HTMLElement): boolean;
    private startCloseToast;
    getPortalElement(): HTMLElement;
    getBackdropMode(): BackdropMode;
    handlesFocus(): boolean;
    protected mounted(): void;
    private convertTimeout;
    private onAction;
    private onClose;
    private get isStateInformation();
    private get isStateWarning();
    private get isStateError();
    private get isStateConfirmation();
    get isTop(): boolean;
    private get isLeft();
    private get isCenter();
    private get isRight();
    private get isMobile();
    private getIcon;
    mouseEnterToast(): void;
    private restoreTimeout;
    mouseLeaveToast(): void;
}
declare const ToastPlugin: PluginObject<any>;
export default ToastPlugin;
//# sourceMappingURL=toast.d.ts.map