import { default as React } from 'react'; import { AlertProps as AntAlertProps } from 'antd'; import { BaseComponentProps, DataSetConfig } from '../../types/common'; interface AlertSemanticStyles { root?: React.CSSProperties; icon?: React.CSSProperties; section?: React.CSSProperties; title?: React.CSSProperties; description?: React.CSSProperties; actions?: React.CSSProperties; close?: React.CSSProperties; } /** * AndAlert Props 接口 */ export interface AndAlertProps extends Omit, BaseComponentProps, DataSetConfig { /** 关闭动作 */ closeAction?: string; /** 标题 (对应旧的 message) */ title?: React.ReactNode; /** 关闭文字 (已废弃,兼容用) */ closeText?: string; /** Semantic DOM 样式 */ styles?: AlertSemanticStyles | string; /** Design Token */ token?: Record | string; /** 迭代器内行下标,供 closeAction 中 @index 占位 */ index?: number; } /** * AndAlert 组件 * 封装 Ant Design Alert,支持数据绑定 */ export declare const AndAlert: React.FC; export default AndAlert; //# sourceMappingURL=index.d.ts.map