import { Ref } from 'vue'; /** * 弹窗开关hook * @returns 返回一个数组 * @example const {show, AOP} = useDialog() */ type FnWrapper = (...args: any[]) => Promise | unknown; type AOPFunction = (fn: FnWrapper) => FnWrapper; interface DialogReturnType { show: Ref; AOP: AOPFunction; } export declare const useDialog: () => DialogReturnType; export {};