import { PropType, ExtractPropTypes } from 'vue'; import { StyleValue } from '../ele-app/types'; import { ElAlertProps, ElIconProps } from '../ele-app/el'; /** * 属性 */ export declare const alertProps: { /** 标题 */ title: StringConstructor; /** 类型 */ type: PropType; /** 描述 */ description: { type: (BooleanConstructor | StringConstructor)[]; default: string; }; /** 是否可关闭 */ closable: { type: BooleanConstructor; default: boolean; }; /** 是否居中 */ center: BooleanConstructor; /** 自定义关闭按钮文字 */ closeText: StringConstructor; /** 是否显示图标 */ showIcon: BooleanConstructor; /** 主题 */ effect: PropType; /** 图标样式 */ iconStyle: PropType; /** 图标组件属性 */ iconProps: PropType; /** 关闭图标样式 */ closeIconStyle: PropType; /** 关闭图标组件属性 */ closeIconProps: PropType; /** 内容区样式 */ bodyStyle: PropType; /** 标题样式 */ titleStyle: PropType; /** 描述样式 */ descriptionStyle: PropType; /** 过渡动画名称 */ transitionName: { type: StringConstructor; default: string; }; }; export type AlertProps = ExtractPropTypes; /** * 事件 */ export declare const alertEmits: { /** 关闭的事件 */ close: (_e: MouseEvent) => boolean; };