import { useCollector as c } from "./useCollector.es.js";
import { useIsomorphicLayoutEffect as l } from "./useIsomorphicLayoutEffect.es.js";
function f(e, o, u) {
  const [n, t] = c(e, o, u);
  return l(function() {
    const r = e.getHandlerId();
    if (r != null)
      return e.subscribeToStateChange(t, {
        handlerIds: [
          r
        ]
      });
  }, [
    e,
    t
  ]), n;
}
export {
  f as useMonitorOutput
};
//# sourceMappingURL=useMonitorOutput.es.js.map
