import { b as c, c as n, d as p, e as d, m as f, n as u, r as h, s as D, a as g, w as l, f as w } from "./subWorkflowDescriptor-DYOYgBzX.js";
class s {
  constructor() {
    this.descriptors = /* @__PURE__ */ new Map();
  }
  register(r) {
    return this.descriptors.set(r.type, r), this;
  }
  forType(r) {
    return this.descriptors.get(r);
  }
  forId(r) {
    for (const e of this.descriptors.values())
      if (e.matches(r)) return e;
  }
  list() {
    return [...this.descriptors.values()];
  }
}
const o = new s();
export {
  s as NodeTypeRegistry,
  c as baseNodeDefaults,
  n as conditionBranchDescriptor,
  p as defineNode,
  d as endEventDescriptor,
  f as makeSubWorkflowDescriptor,
  o as nodeTypeRegistry,
  u as notificationDescriptor,
  h as restApiDescriptor,
  D as startEventDescriptor,
  g as subWorkflowDescriptor,
  l as webhookTriggerDescriptor,
  w as webhookTriggerTemplate
};
//# sourceMappingURL=nodeRegistry.js.map
