import { createContext, useContext } from "react";
const PromptInputContext = createContext(null);
const usePromptInputContext = () => {
  const context = useContext(PromptInputContext);
  if (!context) {
    throw new Error("usePromptInputContext must be used within PromptInput");
  }
  return context;
};
export {
  PromptInputContext,
  usePromptInputContext
};
//# sourceMappingURL=prompt-input-context.js.map
