"use strict";
var __defProp = Object.defineProperty;
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
var __getOwnPropNames = Object.getOwnPropertyNames;
var __hasOwnProp = Object.prototype.hasOwnProperty;
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
var __export = (target, all) => {
  for (var name in all)
    __defProp(target, name, { get: all[name], enumerable: true });
};
var __copyProps = (to, from, except, desc) => {
  if (from && typeof from === "object" || typeof from === "function") {
    for (let key of __getOwnPropNames(from))
      if (!__hasOwnProp.call(to, key) && key !== except)
        __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
  }
  return to;
};
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
var topology_manager_read_service_client_exports = {};
__export(topology_manager_read_service_client_exports, {
  TopologyManagerReadServiceClient: () => TopologyManagerReadServiceClient
});
module.exports = __toCommonJS(topology_manager_read_service_client_exports);
var import_topology_manager_read_service = require("./topology_manager_read_service.cjs");
var import_runtime_rpc = require("@protobuf-ts/runtime-rpc");
class TopologyManagerReadServiceClient {
  constructor(_transport) {
    this._transport = _transport;
    __publicField(this, "typeName", import_topology_manager_read_service.TopologyManagerReadService.typeName);
    __publicField(this, "methods", import_topology_manager_read_service.TopologyManagerReadService.methods);
    __publicField(this, "options", import_topology_manager_read_service.TopologyManagerReadService.options);
  }
  /**
   * @generated from protobuf rpc: ListNamespaceDelegation
   */
  listNamespaceDelegation(input, options) {
    const method = this.methods[0], opt = this._transport.mergeOptions(options);
    return (0, import_runtime_rpc.stackIntercept)("unary", this._transport, method, opt, input);
  }
  /**
   * @generated from protobuf rpc: ListDecentralizedNamespaceDefinition
   */
  listDecentralizedNamespaceDefinition(input, options) {
    const method = this.methods[1], opt = this._transport.mergeOptions(options);
    return (0, import_runtime_rpc.stackIntercept)("unary", this._transport, method, opt, input);
  }
  /**
   * @generated from protobuf rpc: ListOwnerToKeyMapping
   */
  listOwnerToKeyMapping(input, options) {
    const method = this.methods[2], opt = this._transport.mergeOptions(options);
    return (0, import_runtime_rpc.stackIntercept)("unary", this._transport, method, opt, input);
  }
  /**
   * @generated from protobuf rpc: ListPartyToKeyMapping
   */
  listPartyToKeyMapping(input, options) {
    const method = this.methods[3], opt = this._transport.mergeOptions(options);
    return (0, import_runtime_rpc.stackIntercept)("unary", this._transport, method, opt, input);
  }
  /**
   * @generated from protobuf rpc: ListSynchronizerTrustCertificate
   */
  listSynchronizerTrustCertificate(input, options) {
    const method = this.methods[4], opt = this._transport.mergeOptions(options);
    return (0, import_runtime_rpc.stackIntercept)("unary", this._transport, method, opt, input);
  }
  /**
   * @generated from protobuf rpc: ListParticipantSynchronizerPermission
   */
  listParticipantSynchronizerPermission(input, options) {
    const method = this.methods[5], opt = this._transport.mergeOptions(options);
    return (0, import_runtime_rpc.stackIntercept)("unary", this._transport, method, opt, input);
  }
  /**
   * @generated from protobuf rpc: ListPartyHostingLimits
   */
  listPartyHostingLimits(input, options) {
    const method = this.methods[6], opt = this._transport.mergeOptions(options);
    return (0, import_runtime_rpc.stackIntercept)("unary", this._transport, method, opt, input);
  }
  /**
   * @generated from protobuf rpc: ListVettedPackages
   */
  listVettedPackages(input, options) {
    const method = this.methods[7], opt = this._transport.mergeOptions(options);
    return (0, import_runtime_rpc.stackIntercept)("unary", this._transport, method, opt, input);
  }
  /**
   * @generated from protobuf rpc: ListPartyToParticipant
   */
  listPartyToParticipant(input, options) {
    const method = this.methods[8], opt = this._transport.mergeOptions(options);
    return (0, import_runtime_rpc.stackIntercept)("unary", this._transport, method, opt, input);
  }
  /**
   * @generated from protobuf rpc: ListSynchronizerParametersState
   */
  listSynchronizerParametersState(input, options) {
    const method = this.methods[9], opt = this._transport.mergeOptions(options);
    return (0, import_runtime_rpc.stackIntercept)("unary", this._transport, method, opt, input);
  }
  /**
   * @generated from protobuf rpc: ListMediatorSynchronizerState
   */
  listMediatorSynchronizerState(input, options) {
    const method = this.methods[10], opt = this._transport.mergeOptions(options);
    return (0, import_runtime_rpc.stackIntercept)("unary", this._transport, method, opt, input);
  }
  /**
   * @generated from protobuf rpc: ListSequencerSynchronizerState
   */
  listSequencerSynchronizerState(input, options) {
    const method = this.methods[11], opt = this._transport.mergeOptions(options);
    return (0, import_runtime_rpc.stackIntercept)("unary", this._transport, method, opt, input);
  }
  /**
   * @generated from protobuf rpc: ListPurgeTopologyTransaction
   */
  listPurgeTopologyTransaction(input, options) {
    const method = this.methods[12], opt = this._transport.mergeOptions(options);
    return (0, import_runtime_rpc.stackIntercept)("unary", this._transport, method, opt, input);
  }
  /**
   * @generated from protobuf rpc: ListAvailableStores
   */
  listAvailableStores(input, options) {
    const method = this.methods[13], opt = this._transport.mergeOptions(options);
    return (0, import_runtime_rpc.stackIntercept)("unary", this._transport, method, opt, input);
  }
  /**
   * @generated from protobuf rpc: ListAll
   */
  listAll(input, options) {
    const method = this.methods[14], opt = this._transport.mergeOptions(options);
    return (0, import_runtime_rpc.stackIntercept)(
      "unary",
      this._transport,
      method,
      opt,
      input
    );
  }
  /**
   * @generated from protobuf rpc: ExportTopologySnapshot
   */
  exportTopologySnapshot(input, options) {
    const method = this.methods[15], opt = this._transport.mergeOptions(options);
    return (0, import_runtime_rpc.stackIntercept)("serverStreaming", this._transport, method, opt, input);
  }
  /**
   * Fetch the genesis topology state.
   * The returned bytestring can be used directly to initialize a sequencer.
   *
   * @generated from protobuf rpc: GenesisState
   */
  genesisState(input, options) {
    const method = this.methods[16], opt = this._transport.mergeOptions(options);
    return (0, import_runtime_rpc.stackIntercept)(
      "serverStreaming",
      this._transport,
      method,
      opt,
      input
    );
  }
}
// Annotate the CommonJS export names for ESM import in node:
0 && (module.exports = {
  TopologyManagerReadServiceClient
});
//# sourceMappingURL=topology_manager_read_service.client.cjs.map