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 { CommandSubmissionService } from "./command_submission_service.js";
import { stackIntercept } from "@protobuf-ts/runtime-rpc";
class CommandSubmissionServiceClient {
  constructor(_transport) {
    this._transport = _transport;
    __publicField(this, "typeName", CommandSubmissionService.typeName);
    __publicField(this, "methods", CommandSubmissionService.methods);
    __publicField(this, "options", CommandSubmissionService.options);
  }
  /**
   * Submit a single composite command.
   *
   * @generated from protobuf rpc: Submit
   */
  submit(input, options) {
    const method = this.methods[0], opt = this._transport.mergeOptions(options);
    return stackIntercept(
      "unary",
      this._transport,
      method,
      opt,
      input
    );
  }
  /**
   * Submit a single reassignment.
   *
   * @generated from protobuf rpc: SubmitReassignment
   */
  submitReassignment(input, options) {
    const method = this.methods[1], opt = this._transport.mergeOptions(options);
    return stackIntercept("unary", this._transport, method, opt, input);
  }
}
export {
  CommandSubmissionServiceClient
};
//# sourceMappingURL=command_submission_service.client.js.map