import { PreparedCall, RawRpcBatch, MulticallRpcBatch } from './rpcCall';
export interface RawRpcResponse {
    jsonrpc: '2.0';
    id: number;
    result?: string;
    error?: {
        code: number;
        message: string;
    };
}
export declare function parseRawRpcResponses(responses: RawRpcResponse[], callMetadata: PreparedCall[], allowFailure?: boolean): any[];
export declare function parseRawRpcBatchResponses(batches: RawRpcBatch[], batchResponses: RawRpcResponse[][], allowFailure?: boolean): any[];
/**
 * Parses multicall3 aggregate3 responses
 * The response contains an array of {success, returnData} tuples
 * Each returnData needs to be decoded using the original call's ABI
 */
export declare function parseMulticallRpcResponses(responses: RawRpcResponse[], batches: MulticallRpcBatch[], allowFailure?: boolean): any[];
//# sourceMappingURL=rpcParse.d.ts.map