import React, { ReactNode } from 'react';
import { BaseProps } from '../_utils/props';
export declare type AlertType = 'success' | 'info' | 'warning' | 'error';
export interface AlertProps extends BaseProps, Omit<React.PropsWithoutRef<JSX.IntrinsicElements['div']>, 'title'> {
    title?: string | ReactNode;
    type?: AlertType;
    icon?: boolean | ReactNode;
    iconSize?: number;
    closable?: boolean;
    closeText?: ReactNode;
    afterClose?: () => void;
    onClose?: React.MouseEventHandler<HTMLSpanElement>;
}
