export type MessageOptionType = {
    message?: string;
    type?: string;
    duration?: number;
    showClose?: Boolean;
    center?: Boolean;
    onClose?: Function;
    grouping?: Boolean;
    repeatNum?: number;
};
export declare const messageTypes: readonly ["success", "info", "warning", "danger"];
export type MessageParams = MessageOptionType | string;
export interface MessageHandle {
    close: () => void;
}
export type MessageFn = (options: MessageParams) => MessageHandle;
export type MessageOptionsTyped = Omit<MessageOptionType, 'type'>;
export type MessageParamsTyped = Partial<MessageOptionsTyped> | string;
export type MessageTypedFn = (options: MessageParamsTyped) => MessageHandle;
export interface Message extends MessageFn {
    success: MessageTypedFn;
    warning: MessageTypedFn;
    info: MessageTypedFn;
    danger: MessageTypedFn;
}
