/// <reference types="react" />
import React from 'react';
export interface AlertMessageOptions {
    type?: 'info' | 'success' | 'error' | 'warn';
    title: string | React.ReactNode;
    content: string | React.ReactNode;
    width?: number;
    duration?: number;
    onOk?: () => void | Promise;
    onClose?: () => void;
    afterClose?: () => void;
}
export declare type alertFunc = (props: AlertMessageOptions) => {
    destroy: () => void
};
declare var _default: {
    show: alertFunc;
    info: alertFunc;
    success: alertFunc;
    error: alertFunc;
    warn: alertFunc;
};
export default _default;