import { useMFHostRuntimeTools as e } from "../useMFHostRuntimeTools/index.js";
function r() {
  const o = e().realtime?.producerTools;
  if (!o || typeof o.getResourceRuntimeMeta != "function" || typeof o.publishMessages != "function" || typeof o.subscribe != "function" || typeof o.unsubscribe != "function")
    throw new Error(
      "useMFRealtimeProducerTools requires host-owned realtime producerTools."
    );
  return o;
}
export {
  r as useMFRealtimeProducerTools
};
