import { o as a } from "./rolldown-runtime.js";
import { i } from "./vendor/react.js";
import { t as n } from "./create-safe-context.js";
var e = /* @__PURE__ */ a(i(), 1), [c, p] = n("AIInteractionProvider");
function m({ children: t, onInteraction: r }) {
  const o = e.useMemo(() => ({ onInteraction: r }), [r]);
  return e.createElement(c.Provider, { value: o }, t);
}
m.displayName = "AIInteractionProvider";
export {
  p as n,
  m as t
};

//# sourceMappingURL=interaction-context.js.map