import { Component, ExtractPropTypes, PropType } from 'vue'; export type MessageProps = ExtractPropTypes; export declare const MESSAGE_PROPS: { visible: { type: BooleanConstructor; default: boolean; }; /** * 消息内容 */ content: StringConstructor; /** * 自定义消息图标 */ icon: { type: PropType; default: undefined; }; /** * 消息提示类型 */ type: { type: PropType<"text" | "loading">; default: string; }; /** * 消息主题 */ theme: { type: PropType<"success" | "warning" | "info" | "error">; default: string; }; /** * 是否显示关闭图标 */ closable: { type: BooleanConstructor; default: boolean; }; /** * 消息提示时间,单位毫秒 */ duration: { type: NumberConstructor; default: number; }; teleport: { type: PropType; default: string; }; /** * 提示框关闭完成事件 */ onClosed: { type: PropType<() => void>; default: undefined; }; };