import { Node, type CommandProps } from '@tiptap/core'; import { type WorkDocumentTableOfContentsBuildOptions, type WorkDocumentTableOfContentsOptions } from './work-document-table-of-contents'; declare module '@tiptap/core' { interface Commands { documentTableOfContents: { insertDocumentTableOfContents: (options?: WorkDocumentTableOfContentsOptions, buildOptions?: WorkDocumentTableOfContentsBuildOptions) => ReturnType; updateDocumentTableOfContents: (options: WorkDocumentTableOfContentsOptions, buildOptions?: WorkDocumentTableOfContentsBuildOptions) => ReturnType; refreshDocumentTablesOfContents: (buildOptions?: WorkDocumentTableOfContentsBuildOptions) => ReturnType; }; } } export declare const DocumentTableOfContents: Node; export declare function selectedDocumentTableOfContentsOptions(editor: { state: CommandProps['state']; }): WorkDocumentTableOfContentsOptions | null; export declare function documentHasTableOfContents(editor: { state: CommandProps['state']; }): boolean;