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 { ParticipantPruningService } from "./participant_pruning_service.js";
import { stackIntercept } from "@protobuf-ts/runtime-rpc";
class ParticipantPruningServiceClient {
  constructor(_transport) {
    this._transport = _transport;
    __publicField(this, "typeName", ParticipantPruningService.typeName);
    __publicField(this, "methods", ParticipantPruningService.methods);
    __publicField(this, "options", ParticipantPruningService.options);
  }
  /**
   * Prune the ledger specifying the offset before and at which ledger transactions should be removed. Only returns when
   * the potentially long-running prune request ends successfully or with an error.
   *
   * @generated from protobuf rpc: Prune
   */
  prune(input, options) {
    const method = this.methods[0], opt = this._transport.mergeOptions(options);
    return stackIntercept(
      "unary",
      this._transport,
      method,
      opt,
      input
    );
  }
}
export {
  ParticipantPruningServiceClient
};
//# sourceMappingURL=participant_pruning_service.client.js.map