import { Component } from 'react'; import * as Rsg from '../../../typings'; interface TableOfContentsProps { sections: Rsg.Section[]; useRouterLinks?: boolean; tocMode?: string; loc?: { hash: string; pathname: string; }; } export default class TableOfContents extends Component { state: { searchTerm: string; }; private renderLevel; private renderSections; render(): JSX.Element; } export {};