import { DocumentSection } from './sections/section.cjs'; import './elements/heading.cjs'; interface MarkdownDocumentOptions { title: string; description?: string; content?: Array; /** * Include a table of contents in the output * * @default true */ tableOfContents?: boolean; } interface AddSection { section: DocumentSection; sortOrder?: number; } declare class MarkdownDocument { private options; private _tableOfContents; private _sortedSections; private _title; constructor(options: MarkdownDocumentOptions); private get sections(); get title(): string; addSection(section: DocumentSection): this; tryFindSection(path: Array): S; private synthesizeSections; toString(): string; } declare const markdownDocument: (options: MarkdownDocumentOptions) => MarkdownDocument; export { AddSection, MarkdownDocument, MarkdownDocumentOptions, markdownDocument };