import { FC, ReactNode } from "react"; export declare type AlertType = "success" | "info" | "warn" | "error"; export interface AlertProps { className?: string; /**是否显示close按钮 */ closeable?: Boolean; /**显示标题 */ message: String; /**alert的类型 */ type?: AlertType; /**显示内容 */ description?: string; /**是否自定义标题icon */ showIcon?: Boolean; /**自定义icon */ icon?: ReactNode; /**关闭事件回调 */ afterClose?: () => void; } /** * ### 引用方法 * import { Alert } from 'crayfish-ui' */ export declare const Alert: FC; export default Alert;