import { default as React } from 'react'; interface TOCSection { id: string; title: string; subsections?: TOCSection[]; } interface TableOfContentsProps { sections: TOCSection[]; selectedSection: string; selectedSubsection?: string | null; expandedSections: string[]; onSectionSelect: (sectionId: string) => void; onSubsectionSelect?: (subsectionId: string, parentSectionId: string) => void; onToggleSection: (sectionId: string) => void; className?: string; } declare const TableOfContents: React.FC; export { TableOfContents, type TOCSection }; //# sourceMappingURL=table-of-contents.d.ts.map