import { WxIsv } from '../typings';
import { WxIsvStorage } from './WxIsvStorage';
export declare class WxIsvBin {
    readonly config: WxIsv.WxIsvConfig;
    readonly storage: WxIsvStorage;
    constructor(config: WxIsv.WxIsvConfig, storage?: WxIsvStorage);
    request(request: WxIsv.AxiosRequestConfig, customErrorMessage: WxIsv.customErrorMessage, customErrorHandler: WxIsv.customErrorHandler, ignoreError: WxIsv.IgnoreError, retryTimes?: number): Promise<any>;
    requestTransformResponse(request: WxIsv.AxiosRequestConfig, customErrorMessage: WxIsv.customErrorMessage, customErrorHandler: WxIsv.customErrorHandler, ignoreError: WxIsv.IgnoreError, transformResponseFunction: WxIsv.AxiosTransformer, retryTimes?: number): Promise<any>;
    protected onRequestError(error: Error, res: WxIsv.AxiosResponse): void;
    private handleResponse;
}
