import { ComputedRef, InjectionKey, Ref } from 'vue';
import { AnchorDirection } from './anchor.js';
export interface AnchorLinkState {
    href: string;
    el: HTMLElement;
}
export interface AnchorContext {
    direction: ComputedRef<AnchorDirection>;
    currentAnchor: Ref<string>;
    addLink: (state: AnchorLinkState) => void;
    removeLink: (href: string) => void;
    handleClick: (event: MouseEvent, href?: string) => void;
}
export declare const anchorContextKey: InjectionKey<AnchorContext>;
