import { DocumentSection } from './section.cjs'; import '../elements/heading.cjs'; interface TableOfContents { title?: string; sections: ReadonlyArray; } declare class TableOfContentsSection extends DocumentSection { private options; constructor(options: TableOfContents); private generateTableOfContents; protected synthesizeContent(): Array; } declare function tableOfContentsSection(options: TableOfContents): TableOfContentsSection; export { TableOfContents, TableOfContentsSection, tableOfContentsSection };