import { jsx } from "react/jsx-runtime";
import { Box } from "ink";
import { TextBufferInput } from "../TextBufferInput.js";
function InputArea({
  buffer,
  onSubmit,
  onQueueSubmit,
  isDisabled,
  isActive,
  placeholder,
  onHistoryNavigate,
  onCurrentTurnEdit,
  onTriggerOverlay,
  onKeyboardScroll,
  imageCount,
  onImagePaste,
  images,
  onImageRemove,
  pastedBlocks,
  onPasteBlock,
  onPasteBlockUpdate,
  onPasteBlockRemove,
  highlightQuery,
  onCycleReasoningVariant
}) {
  return /* @__PURE__ */ jsx(Box, { flexDirection: "column", children: /* @__PURE__ */ jsx(
    TextBufferInput,
    {
      buffer,
      onSubmit,
      onQueueSubmit,
      placeholder,
      isDisabled,
      isActive,
      onHistoryNavigate,
      onCurrentTurnEdit,
      onTriggerOverlay,
      onKeyboardScroll,
      imageCount,
      onImagePaste,
      images,
      onImageRemove,
      pastedBlocks,
      onPasteBlock,
      onPasteBlockUpdate,
      onPasteBlockRemove,
      highlightQuery,
      onCycleReasoningVariant
    }
  ) });
}
export {
  InputArea
};
