import { ComponentProps } from "react"; import * as Primitive from "fumadocs-core/toc"; export declare function useTOCItems(): Primitive.TOCItemType[]; export type TOCProviderProps = Primitive.AnchorProviderProps; export declare const useActiveAnchor: typeof Primitive.useActiveAnchor, useActiveAnchors: typeof Primitive.useActiveAnchors, useItems: typeof Primitive.useItems; export declare function TOCProvider({ toc, children, ...props }: TOCProviderProps): import("react").JSX.Element; export declare function TOCScrollArea({ ref, className, ...props }: ComponentProps<'div'>): import("react").JSX.Element;