import type { TocHeading } from './heading-extraction.js';
export type TreeItem = TocHeading & {
    children: TreeItem[];
};
export declare const buildTree: (headings: TocHeading[]) => TreeItem[];
export declare const buildAlphabeticalGroups: (headings: TocHeading[]) => {
    letter: string;
    items: TocHeading[];
}[];
//# sourceMappingURL=tree-builder.d.ts.map