import { Node } from '@tiptap/core'; import { IpfsImageUploadResponse } from '../../types'; import { DBlockRuntimeState } from './dblock-runtime'; export interface DBlockOptions { HTMLAttributes: Record; ipfsImageUploadFn?: (file: File) => Promise; onCopyHeadingLink?: (link: string) => void; hasAvailableModels: boolean; getRuntimeState?: () => DBlockRuntimeState; } declare module '@tiptap/core' { interface Commands { dBlock: { setDBlock: (position?: number) => ReturnType; }; } } export declare const DBlock: Node; export declare const createDBlockExtension: (options?: Partial) => Node;