/// <reference types="node" />
import { ServerIdentity } from "../network";
import { ViewCallResponse } from "./proto";
/**
 * BEvm service
 */
export declare class BEvmRPC {
    static serviceName: string;
    private conn;
    private timeout;
    constructor(srvid: ServerIdentity);
    /**
     * Set a new timeout value for future requests.
     *
     * @param value Timeout in [ms]
     */
    setTimeout(value: number): void;
    /**
     * Execute a view method (read-only)
     *
     * @param byzcoinId         ByzCoin ID
     * @param bevmInstanceId    BEvm instance ID
     * @param accountAddress    Address of the EVM account
     * @param contractAddress   Address of the smart contract
     * @param callData          ABI-packed call arguments
     *
     * @return Result of the view method execution
     */
    viewCall(byzcoinId: Buffer, bevmInstanceId: Buffer, accountAddress: Buffer, contractAddress: Buffer, callData: Buffer): Promise<ViewCallResponse>;
}
