import { LoadingProps } from '.'; import { TeleportProps } from 'vue/dist/vue'; type LoadingInstance = { close: () => void; }; type LoadingOptions = Partial> & { to?: TeleportProps['to']; }; /** * TODO 下个主版本去掉 */ export declare const LoadingPlugin: { open(options?: LoadingOptions): LoadingInstance; close: () => void | undefined; }; export declare const useLoading: () => { open(options?: LoadingOptions): LoadingInstance; close: () => void | undefined; }; export {};