import { IHttpResponse } from "./IHttpResponse";
import { RequestBodyType } from "../../enums/RequestBodyType";
import { HttpMethodType } from "../../enums/HttpMethodType";
import { ServiceClientConfig } from "../../config/ServiceClientConfig";
export declare class SimpleHttpUtil {
    private readonly axios;
    private readonly serviceClientConfig;
    constructor(serviceClientConfig: ServiceClientConfig);
    request(method: HttpMethodType, url: string, params: {}, data: object, headers: {}, bodyType: RequestBodyType): Promise<IHttpResponse>;
    /**
     * 文件上传
     * @param url
     * @param files
     * @param headers
     * @param config
     */
    upload(url: string, data: object | undefined, formData: FormData, headers?: object): Promise<IHttpResponse<any>>;
}
