import { AxiosInstance, AxiosResponse } from 'axios';
import { ReqParams, ReqOptions } from '../defs/loopring_enums';
/**
 *
 * @export
 */
export declare const setSearchParams: (url: URL, ...objects: any[]) => void;
/**
 *
 * @export
 */
export declare const serializeDataIfNeeded_For_SetReffer: (value: any) => string;
export declare const serializeDataIfNeeded: (value: any) => string;
/**
 *
 * @export
 */
export declare const toPathString: (url: URL) => string;
export declare class Request {
    private _axios;
    private baseOptions;
    getIns(): AxiosInstance;
    constructor(baseUrl: string, timeout: number);
    request(params: ReqParams, options?: any): Promise<AxiosResponse<any, any>>;
    updateOpt(reqOpt: ReqOptions): this;
    addApiKey(apiKey: string): this;
    addSig(signature: string): this;
    updateBaseUrl(baseUrl: string): this;
    handle400(callback?: any): void;
}
//# sourceMappingURL=request.d.ts.map