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

//# sourceMappingURL=useResizeObserver.js.map