import { Node } from "@tiptap/core"; import { Editor } from "@tiptap/core"; declare module "@tiptap/core" { interface Commands { TableOfContents: { /** * Toggle a paragraph */ insertTableOfContents: () => ReturnType; }; } } export declare const updateTableOfContents: (editor: Editor, getPos: any) => void; export declare const TableOfContents: Node;