///
import { InterceptorManager } from './interceptorManager';
import type { FetchClient, RequestConfig, Response } from '@ace-fetch/core';
export declare class UinAppClient implements FetchClient {
private defaults;
interceptors: {
request: InterceptorManager>;
response: InterceptorManager>;
};
constructor(defaults: Partial);
request>(url: string, config?: RequestConfig): Promise;
request>(config: RequestConfig): Promise;
get>(url: string, config?: RequestConfig): Promise;
delete>(url: string, config?: RequestConfig): Promise;
head>(url: string, config?: RequestConfig): Promise;
options>(url: string, config?: RequestConfig): Promise;
post>(url: string, data?: any, config?: RequestConfig): Promise;
put>(url: string, data?: any, config?: RequestConfig): Promise;
patch>(url: string, data?: any, config?: RequestConfig): Promise;
}
declare module '@ace-fetch/core' {
interface RequestConfig extends UniNamespace.RequestOptions {
}
}