import { Node } from '@tiptap/core';
import { IpfsImageUploadResponse } from '../../types';

export interface DBlockOptions {
    HTMLAttributes: Record<string, any>;
    ipfsImageUploadFn?: (file: File) => Promise<IpfsImageUploadResponse>;
    onCopyHeadingLink?: (link: string) => void;
    hasAvailableModels: boolean;
}
declare module '@tiptap/core' {
    interface Commands<ReturnType> {
        dBlock: {
            setDBlock: (position?: number) => ReturnType;
        };
    }
}
export declare const DBlock: Node<DBlockOptions, any>;
