"use strict";
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
const React = require("react");
const PromptInputContext = React.createContext(null);
const usePromptInputContext = () => {
  const context = React.useContext(PromptInputContext);
  if (!context) {
    throw new Error("usePromptInputContext must be used within PromptInput");
  }
  return context;
};
exports.PromptInputContext = PromptInputContext;
exports.usePromptInputContext = usePromptInputContext;
//# sourceMappingURL=prompt-input-context.cjs.map
