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

export declare const Command: Extension<any, any>;
export interface SlashCommandDynamicConfig {
    isConnected?: boolean;
    enableCollaboration?: boolean;
    disableInlineComment?: boolean;
}
declare const SlashCommand: (onError?: (errorString: string) => void, ipfsImageUploadFn?: (file: File) => Promise<IpfsImageUploadResponse>, configRef?: {
    current: SlashCommandDynamicConfig;
}) => Extension<any, any>;
export default SlashCommand;
