import { Editor } from '@tiptap/core';
import { TableOfContentsStorage } from '@tiptap/extension-table-of-contents';

type EditorWithTableOfContentsStorage = {
    storage?: {
        tableOfContents?: TableOfContentsStorage | null;
    };
};
export declare const clearTableOfContentsStorage: (target: Editor | EditorWithTableOfContentsStorage | TableOfContentsStorage | null | undefined) => boolean;
export declare const DdocTableOfContents: import('@tiptap/core').Extension<import('@tiptap/extension-table-of-contents').TableOfContentsOptions, TableOfContentsStorage>;
export {};
