import { Ref } from 'vue'; /** * Loading状态 * @returns 返回一个数组 * @example const {loading, send} = useRequest(requestFn) */ type RequestFunction = (...args: any[]) => Promise; interface RequestReturnType { loading: Ref; send: RequestFunction; } export declare const useRequest: (requestFn: RequestFunction) => RequestReturnType; export {};