import { onMounted as e, onUnmounted as t, unref as n } from "vue";
function r(r, i, a, o) {
	e(() => n(r)?.addEventListener(i, a, o)), t(() => n(r)?.removeEventListener(i, a, o));
}
export { r as useEventListener };

//# sourceMappingURL=useEventListener.js.map