import type * as HTTP from '../../types/http'; /** * 包裹request配置到错误对象上. * 注: 同步代码throw错误不会进入promise catch中, 需要使用Promise.reject. * * @param error * @param url * @param options */ declare function rejectErrWithRequest(error: unknown, url: string | undefined, options: HTTP.RequestConfig): Promise; export default rejectErrWithRequest;