var __defProp = Object.defineProperty;
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
import { VersionService } from "./version_service.js";
import { stackIntercept } from "@protobuf-ts/runtime-rpc";
class VersionServiceClient {
  constructor(_transport) {
    this._transport = _transport;
    __publicField(this, "typeName", VersionService.typeName);
    __publicField(this, "methods", VersionService.methods);
    __publicField(this, "options", VersionService.options);
  }
  /**
   * Read the Ledger API version
   *
   * @generated from protobuf rpc: GetLedgerApiVersion
   */
  getLedgerApiVersion(input, options) {
    const method = this.methods[0], opt = this._transport.mergeOptions(options);
    return stackIntercept("unary", this._transport, method, opt, input);
  }
}
export {
  VersionServiceClient
};
//# sourceMappingURL=version_service.client.js.map