import type { DocsPage, PageTreeNode, BreadcrumbItem } from '../types.js'; /** * Build a tree of pages from a flat list, grouped by parentId and sorted by sortOrder. */ export declare function buildPageTree(pages: DocsPage[]): PageTreeNode[]; /** * Build breadcrumb trail for a page by walking the ancestor chain. */ export declare function buildBreadcrumbs(pages: DocsPage[], pageId: string): BreadcrumbItem[]; /** * Build the URL path for a page by joining ancestor slugs. */ export declare function buildPagePath(pages: DocsPage[], pageId: string): string; //# sourceMappingURL=tree.d.ts.map