import { ComputedRef } from 'vue';
import { BasicApi } from '../types';
/**
 * @description 处理请求状态
 * @param {BasicApi | BasicApi[]} api 需要监听的api
 * @param {string[]} requestingExt 需要监听的url
 * @param {string[]} executingExt 需要监听的url
 * @returns {
 *  requesting: ComputedRef<boolean>,
 *  executing: ComputedRef<boolean>
 * } 请求状态
 */
export declare const useLoading: (api: BasicApi | BasicApi[], requestingExt?: string[], executingExt?: string[]) => {
    requesting: ComputedRef<boolean>;
    executing: ComputedRef<boolean>;
};
