/// <reference types="node" />
import { WxIsvBin } from '../libs/WxIsvBin';
import { WxIsv } from '../typings';
export declare class WxIsvServiceBase {
    protected readonly bin: WxIsvBin;
    protected readonly config: WxIsv.WxIsvConfig;
    protected readonly customErrorMessage: WxIsv.customErrorMessage;
    constructor(bin: WxIsvBin);
    request(method: WxIsv.AxiosMethod, url: string, data: Record<string, any>, params: Record<string, any>, ignoreError?: WxIsv.IgnoreError): Promise<any>;
    requestStream(method: WxIsv.AxiosMethod, url: string, data: Record<string, any>, params: Record<string, any>, ignoreError?: WxIsv.IgnoreError): Promise<any>;
    requestTransformResponse(method: WxIsv.AxiosMethod, url: string, data: Record<string, any>, params: Record<string, any>, transformResponseFunction: WxIsv.AxiosTransformer, ignoreError?: WxIsv.IgnoreError): Promise<any>;
    requestBuffer(method: WxIsv.AxiosMethod, url: string, buffer: Buffer, headers?: Record<string, string>, params?: Record<string, any>, ignoreError?: WxIsv.IgnoreError): Promise<any>;
    protected customErrorHandler(res: WxIsv.AxiosResponse): void;
}
