import { onMounted as d, unref as u, onUnmounted as i } from "vue";
function v(n, o, r, t) {
  d(() => {
    var e;
    return (e = u(n)) == null ? void 0 : e.addEventListener(o, r, t);
  }), i(() => {
    var e;
    return (e = u(n)) == null ? void 0 : e.removeEventListener(o, r, t);
  });
}
export {
  v as useEventListener
};
//# sourceMappingURL=useEventListener.js.map
