import React, { ReactNode } from 'react';
export declare type AlertProps = {
    title?: string;
    type?: 'success' | 'info' | 'warning' | 'error';
    icon?: boolean | ReactNode;
    iconSize?: number;
    closable?: boolean;
    closeText?: React.ReactNode;
    afterClose?: () => void;
    onClose?: React.MouseEventHandler<HTMLSpanElement>;
    className?: string;
    children?: React.ReactNode;
    prefixCls?: string;
    style?: React.CSSProperties;
} & typeof defaultProps;
declare const defaultProps: {
    prefixCls: string;
    type: string;
    iconSize: number;
};
declare const Alert: {
    (props: AlertProps): JSX.Element;
    defaultProps: {
        prefixCls: string;
        type: string;
        iconSize: number;
    };
};
export default Alert;
