import { TocList } from "../../../type"; import { Extension } from '@tiptap/core'; import { TableOfContentsOptions, TableOfContentsStorage } from './types'; export * from './types'; export declare const TableOfContentsExtension: Extension; interface TableOfContentsProps { onTocUpdate?: (toc: TocList) => void; tableOfContentsOptions?: TableOfContentsOptions; } export declare const TableOfContents: ({ onTocUpdate, tableOfContentsOptions }: TableOfContentsProps) => Extension; export default TableOfContents;