import React from 'react'; import { BaseProps } from '../_utils/props'; export declare type AlertType = 'success' | 'info' | 'warning' | 'error'; export interface AlertProps extends BaseProps { title?: string; type?: AlertType; icon?: boolean | React.ReactNode; iconSize?: number; closable?: boolean; closeText?: React.ReactNode; afterClose?: () => void; onClose?: React.MouseEventHandler; children?: React.ReactNode; } declare const Alert: (props: AlertProps) => JSX.Element; export default Alert;