import { Ref } from "vue"; export default function (target: Ref, icon?: string | Ref, text?: string | Ref): { /** * @description 响应式icon */ icon: Ref; /** * @description 响应式text */ text: Ref; /** * @description 显示alert */ show: () => void; /** * @description 隐藏alert */ hidden: () => void; /** * @description 显示/隐藏alert */ toggle: () => void; /** * @description 停止使用alert */ stop: () => void; };