import { ToastProps } from '@douyinfe/semi-foundation/lib/es/toast/toastFoundation'; import { Ref, VNode } from 'vue'; export type ToastFuncType = { success: (config: ToastProps) => string; info: (config: ToastProps) => string; error: (config: ToastProps) => string; warning: (config: ToastProps) => string; open: (config: ToastProps) => string; close: (id: string) => void; }; export default function useToast(): [ToastFuncType, Ref];