import { InjectionToken } from '@angular/core';
export declare enum MessageType {
    Error = "error",
    Success = "success",
    Warning = "warning",
    Info = "info"
}
/**
 * messageOptions: contains Basic configuration
 * Just for some containers like Message-Container
 * Detailed document： http://confluence.alaudatech.com/pages/viewpage.action?pageId=23383163
 */
export declare class MessageConfig {
    /**
     * the message type
     */
    type?: MessageType;
    /**
     * The id of this message, The same ID can only have one at the same time
     */
    id?: number | string;
    /**
     * automatically shut down after a few seconds, if <= 0 ,non automatic closure
     */
    duration?: number;
    /**
     * message content
     */
    content?: string;
}
export interface MessageGlobalConfig {
    /**
     * max instance in one time
     */
    maxStack: number;
    duration: number | {
        [key in MessageType]: number;
    };
}
export declare const MESSAGE_CONFIG: InjectionToken<MessageGlobalConfig>;
export declare const MESSAGE_DEFAULT_CONFIG: {
    duration: number;
    maxStack: number;
};
