import type { NodeType } from '@tiptap/pm/model'; import { Plugin } from '@tiptap/pm/state'; export declare const TableOfContentsPlugin: ({ getId, anchorTypes, }: { getId?: ((textContent: string) => string) | undefined; anchorTypes?: (string | NodeType)[] | undefined; }) => Plugin;