import './index.css';
interface Message {
    message: string;
    type: 'info' | 'warning' | 'error' | 'success';
    duration?: number;
    status?: string;
}
declare class MessageBox {
    static autoTimer: any;
    constructor(options: Message);
    message: string;
    type: string;
    duration?: number;
    status?: string;
    autoTimer: any;
    messageBox: HTMLElement;
    options: Message;
    /**
     * 初始化
     */
    init(): void;
    /**
     * 创建元素
     */
    createMessage(): void;
    /**
     * 控制显示
     */
    open(): void;
    /**
     * 控制隐藏
     */
    close(): void;
}
export declare function messagePlugin(options: Message): MessageBox;
export {};
