import { provide } from "vue";
const n = Symbol("elForwardRef"), d = (e) => {
  provide(n, {
    setForwardRef: (r) => {
      e.value = r;
    }
  });
}, s = (e) => ({
  mounted(o) {
    e(o);
  },
  updated(o) {
    e(o);
  },
  unmounted() {
    e(null);
  }
});
export {
  n as FORWARD_REF_INJECTION_KEY,
  d as useForwardRef,
  s as useForwardRefDirective
};
