declare type JsonRpcParams = undefined | { [p: string]: any; } | Array; declare class JsonRPCRequest { readonly url: string; readonly timeout: number; readonly headers: Record; constructor(url: string, headers?: Record, timeout?: number); private static parseRPCResponse; private static normalizePayload; call(method: string, params?: JsonRpcParams, headers?: Record, timeout?: number): Promise; batchCall(calls: Array<[string, JsonRpcParams]>, headers?: { [p: string]: string; }, timeout?: number, ignoreSoloError?: boolean): Promise; private assembleHeaders; } export { JsonRPCRequest };