import type { PropsType } from "./types"; import type { VNode } from "vue"; import Message from "./message.vue"; declare const MESSAGE_GAP = 24; declare const MESSAGE_TAG = "tui"; declare const messageVNodeAll: InstanceType[]; /** * 判断是否是notification组件触发 * @param messageType message类型 */ export declare const isNotification: (messageType: PropsType["messageType"]) => boolean; /** * 创建一个 node 虚拟组件并渲染 * @param props 组件参数 * @returns {VNode} */ declare function createMessage(props: PropsType): { VNode: VNode; }; /** * 初始化参数 * @param props 参数 * @returns PropsType */ declare function initProps(props?: PropsType): { width?: string; type?: "info" | "success" | "warning" | "danger"; plain?: boolean; messageType?: "default" | "notice"; title?: string; position?: "topRight" | "bottomRight" | "bottomLeft" | "topLeft"; content?: string; icon?: "rotate-left" | "rotate-right" | "info" | "close" | "right-circle" | "rate-half" | "rate-null" | "rate" | "fingerprint" | "apple" | "left-double" | "caret-left" | "dislike" | "caret-right" | "caret-up" | "dollar-circle" | "caret-down" | "preview" | "unpreview" | "file-add" | "file-exclamation" | "file-done" | "file-image" | "file-ppt1" | "file" | "file-excel" | "file-jpg" | "file-protect" | "file-pdf" | "file-markdown" | "file-gif" | "file-unknown" | "file-text" | "file-word" | "right-double" | "folder" | "github" | "google" | "ie" | "pause-circle" | "like" | "pause" | "play-circle" | "poweroff" | "taobao" | "weibo" | "qrcode" | "alipay" | "qq" | "wechat" | "youwu" | "zhenyu" | "zhongyu" | "zhongxue" | "yujiaxue" | "qingtian" | "yujiabingbao" | "baoyu" | "bingbao" | "dayu" | "feng" | "leiyu" | "leizhenyu" | "duoyunzhuanqing" | "daxue" | "richu" | "rila" | "xiaoyu" | "shachenbao" | "qingzhuanduoyun" | "yejianduoyun" | "yejianyouyu" | "yintian" | "baoxue" | "yejianyouxue" | "xiaoxue" | "delete" | "link" | "mark-collect" | "information-to" | "add-multiple-user" | "link-break" | "exchange" | "calendar" | "network" | "loading" | "data-glide" | "remove-file" | "leak" | "document" | "folder-add" | "data-up" | "sort-up" | "camera" | "setting" | "add-user" | "lock" | "filter-error" | "screen" | "upload-to" | "collect" | "magnifier-reduce" | "next" | "message" | "information" | "repair" | "image" | "downward" | "volume" | "user" | "cloud" | "forward" | "mail" | "double-right" | "right" | "cloud-upload" | "forward-to" | "record" | "read" | "left-arrow" | "rocket" | "assets" | "left-circle" | "track" | "left" | "cloud-download" | "edit" | "help" | "chart-pie" | "wifi" | "menu-to" | "love" | "edit-to" | "secure" | "horizontal-widen" | "vertical-widen" | "afferent" | "code" | "vertical-reduce" | "close-to" | "double-left" | "save" | "outgoing" | "navigation" | "secure-to" | "menu-contract" | "map" | "fluctuate" | "adjust" | "label" | "print" | "success-to" | "menu-expand" | "magnifier-amplify" | "copy-multiple" | "product" | "inspiration" | "return" | "minus-to" | "position" | "reduce" | "up" | "send" | "branch" | "delete-to" | "amplify" | "upload" | "menu" | "horizontal-more" | "phone" | "type" | "count" | "annex" | "nail" | "lightn" | "seting-to" | "shutdown" | "minus" | "floor" | "scan" | "city" | "Filing" | "add-to" | "woman" | "home" | "chart" | "illustrate" | "unlock" | "search" | "vertical-more" | "share" | "trendc-hart" | "filter" | "grade" | "file-copy" | "enter" | "success" | "file-folder" | "download" | "badge" | "link-to" | "user-remove" | "multiple-user" | "file-remove" | "previous" | "male" | "add" | "member" | "file-reduce"; duration: number; radius?: number | [number, number, number, number]; padding?: number | [number, number, number, number]; appendTo?: string | import("vue").RendererElement; custom?: { x: string; y: string; }; maxLength: number; isClose?: boolean; closeCallback?: (id: string) => void; closeOnPressEscape?: boolean; }; export { MESSAGE_GAP, MESSAGE_TAG, messageVNodeAll, createMessage, initProps };