import { type GenericParent } from 'myst-common'; import type { VFile } from 'vfile'; type ProjectPage = { title: string; level: number; slug?: string; url?: string; enumerator?: string; }; /** * Replace `{toc}` directive nodes with rendered lists. * * A page may contain multiple `{toc}` directives, each with a different * `:context:` value (project, children, page, section). This runs a transform * function for each context, but each one only touches `toc` nodes that match its kind. */ export declare function buildTocTransform(mdast: GenericParent, vfile: VFile, pages?: ProjectPage[], projectSlug?: string, currentSlug?: string): void; export {}; //# sourceMappingURL=toc.d.ts.map