import { provide, inject, computed } from 'vue';

function noop(..._any) {
}
const AnchorContextKey = Symbol("anchorContextKey");
function useProvideAnchor(state) {
  provide(AnchorContextKey, state);
}
function useInjectAnchor() {
  return inject(AnchorContextKey, {
    registerLink: noop,
    unregisterLink: noop,
    scrollTo: noop,
    activeLink: computed(() => ""),
    handleClick: noop,
    direction: computed(() => "vertical")
  });
}

export { AnchorContextKey, useProvideAnchor as default, useInjectAnchor, useProvideAnchor };
//# sourceMappingURL=context.mjs.map
