import { TocItem } from "../types.js"; declare function buildTocTree(items: Omit[]): TocItem[]; declare function flattenTocTree(items: TocItem[]): TocItem[]; export { buildTocTree, flattenTocTree };