import { DocumentSection } from './section.js'; import '../elements/heading.js'; 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 };