/**
 * @packageDocumentation
 * @module Common-JRPCAPI
 */
import DcommCore from "../dcomm";
import { APIBase, RequestResponseData } from "./apibase";
export declare class JRPCAPI extends APIBase {
    protected jrpcVersion: string;
    protected rpcID: number;
    callMethod: (method: string, params?: object[] | object, baseURL?: string, headers?: object) => Promise<RequestResponseData>;
    /**
     * Returns the rpcid, a strictly-increasing number, starting from 1, indicating the next
     * request ID that will be sent.
     */
    getRPCID: () => number;
    /**
     *
     * @param core Reference to the Dcomm instance using this endpoint
     * @param baseURL Path of the APIs baseURL - ex: "/ext/bc/dvm"
     * @param jrpcVersion The jrpc version to use, default "2.0".
     */
    constructor(core: DcommCore, baseURL: string, jrpcVersion?: string);
}
//# sourceMappingURL=jrpcapi.d.ts.map