export interface Item {
    /**
     * 锚点链接
     */
    href: string;
    /**
     * 锚点描述
     */
    title: string;
}
export interface AnchorContextType {
    onClick: (link: Item, e: React.MouseEvent<HTMLElement>) => void;
    activeItem: string;
    registerItem: (href: string) => void;
    unregisterItem: (href: string) => void;
}
export declare const AnchorContext: import("react").Context<AnchorContextType>;
