import { Fragment, jsx, jsxs } from "react/jsx-runtime";
import { Box, Text } from "ink";
function WizardStepInput({
  step,
  currentInput,
  error,
  isValidating,
  isSaving,
  additionalContent
}) {
  return /* @__PURE__ */ jsxs(Fragment, { children: [
    /* @__PURE__ */ jsxs(Box, { flexDirection: "column", children: [
      /* @__PURE__ */ jsxs(Text, { bold: true, children: [
        step.label,
        ":"
      ] }),
      /* @__PURE__ */ jsx(Text, { color: "gray", children: step.placeholder }),
      additionalContent
    ] }),
    /* @__PURE__ */ jsxs(Box, { marginTop: 1, children: [
      /* @__PURE__ */ jsx(Text, { color: "cyan", children: "> " }),
      /* @__PURE__ */ jsx(Text, { children: currentInput }),
      /* @__PURE__ */ jsx(Text, { color: "cyan", children: "_" })
    ] }),
    error && /* @__PURE__ */ jsx(Box, { marginTop: 1, children: /* @__PURE__ */ jsx(Text, { color: "red", children: error }) }),
    isValidating && /* @__PURE__ */ jsx(Box, { marginTop: 1, children: /* @__PURE__ */ jsx(Text, { color: "yellowBright", children: "Validating model..." }) }),
    isSaving && /* @__PURE__ */ jsx(Box, { marginTop: 1, children: /* @__PURE__ */ jsx(Text, { color: "yellowBright", children: "Saving..." }) })
  ] });
}
var WizardStepInput_default = WizardStepInput;
export {
  WizardStepInput,
  WizardStepInput_default as default
};
