import { InjectionKey, Ref } from 'vue'; import { DirectionT } from '../_utils/types'; export declare const anchorInjectKey: InjectionKey<{ addLink: (link: string) => void; removeLink: (link: string) => void; /** * @deprecated 兼容旧版本,计划1.2.0移除 */ onItemClick: (options: { event: MouseEvent; link?: string; }) => void; activeLink: Ref; scrollIntoView: (link: string) => void; layout: Ref; getChangeHash: () => boolean; }>; export declare const anchorItemInjectKey: InjectionKey<{ depth: number; }>;