import { Root } from 'mdast';
export interface TocItem {
    title: string;
    url: string;
    depth: number;
}
export declare function rehypeToc(options?: {
    maxLevel?: number;
}): (tree: Root) => void;
//# sourceMappingURL=rehype-toc.d.ts.map