import { createProjectionNode as t } from "./create-projection-node.es.js";
import { addDomEvent as r } from "../../events/use-dom-event.es.js";
var m = t({
  attachResizeListener: function(e, o) {
    return r(e, "resize", o);
  },
  measureScroll: function() {
    return {
      x: document.documentElement.scrollLeft || document.body.scrollLeft,
      y: document.documentElement.scrollTop || document.body.scrollTop
    };
  },
  checkIsScrollRoot: function() {
    return !0;
  }
});
export {
  m as DocumentProjectionNode
};
//# sourceMappingURL=DocumentProjectionNode.es.js.map
