import { Extension } from '@tiptap/core';
import { IpfsImageFetchPayload } from '../../types';

declare module '@tiptap/core' {
    interface Commands {
        exportHtmlFile: {
            exportHtmlFile: (props?: {
                title?: string;
            }) => any;
        };
    }
}
declare const HtmlExportExtension: (ipfsImageFetchFn?: (_data: IpfsImageFetchPayload) => Promise<{
    url: string;
    file: File;
}>, fetchV1ImageFn?: (url: string) => Promise<ArrayBuffer | undefined>) => Extension<any, any>;
export default HtmlExportExtension;
