import type { Ref, InjectionKey } from 'vue'; export interface AnchorContext { registerLink: (link: string) => void; unregisterLink: (link: string) => void; activeLink: Ref; scrollTo: (link: string) => void; handleClick: (e: Event, info: { title: any; href: string; }) => void; } export declare const AnchorContextKey: InjectionKey; declare const useProvideAnchor: (state: AnchorContext) => void; declare const useInjectAnchor: () => AnchorContext; export { useInjectAnchor, useProvideAnchor }; export default useProvideAnchor;