import { Extension } from '@tiptap/core'; import { IpfsImageUploadResponse } from '../../types'; export declare const Command: Extension; export interface SlashCommandDynamicConfig { isConnected?: boolean; enableCollaboration?: boolean; disableInlineComment?: boolean; } declare const SlashCommand: (onError?: (errorString: string) => void, ipfsImageUploadFn?: (file: File) => Promise, configRef?: { current: SlashCommandDynamicConfig; }) => Extension; export default SlashCommand;