#!/usr/bin/env node
import {
  StackSelection
} from "./chunk-QR2TM4OY.js";
import {
  DomainSelection
} from "./chunk-HLTJK3XB.js";
import {
  useWizardStore
} from "./chunk-SPSGZWTZ.js";
import {
  init_esm_shims
} from "./chunk-DHET7RCE.js";

// src/cli/components/wizard/step-stack.tsx
init_esm_shims();
import { jsx } from "react/jsx-runtime";
var StepStack = ({ matrix, onCancel }) => {
  const { approach } = useWizardStore();
  if (approach !== null) {
    return /* @__PURE__ */ jsx(DomainSelection, { matrix });
  }
  return /* @__PURE__ */ jsx(StackSelection, { matrix, onCancel });
};

export {
  StepStack
};
//# sourceMappingURL=chunk-FMQ3A7W4.js.map