import { Component, ExtractPropTypes, PropType } from 'vue'; export type ToastProps = ExtractPropTypes; export declare const TOAST_PROPS: { visible: { type: BooleanConstructor; default: boolean; }; /** * 消息内容 */ content: StringConstructor; /** * 自定义消息图标 */ icon: { type: PropType; default: undefined; }; /** * 消息提示类型 */ type: { type: PropType<"text" | "loading">; default: string; }; /** * 消息主题 */ theme: { type: PropType<"error" | "loading" | "success">; default: string; }; /** * 消息提示时间,单位毫秒 */ duration: { type: NumberConstructor; default: number; }; direction: { type: PropType; default: undefined; }; };