import { onUnmounted as m, unref as e } from "vue";
import { tapIf as i } from "../helpers/functions.js";
import { onChanged as s } from "./utils.js";
import { stopResizeObserving as t, startResizeObserving as f } from "../global/resizeObserver.js";
function z(r, n) {
  s(() => {
    i(e(r), (o) => {
      f(o, () => n(o));
    });
  }), m(() => {
    i(e(r), (o) => {
      t(o);
    });
  });
}
export {
  z as useResizeObserver
};
//# sourceMappingURL=useResizeObserver.js.map
