import type { PluginServices } from '../ricos-plugins/editor-plugins.js';
import type { PublicCommands } from '../ricos-types/index.js';
import type { ImagePluginEditorConfig } from './types.js';
export declare const handleImageUpload: ({ services, config, publicCommands, nodeId, files, pos, referenceElement, }: {
    services: Pick<PluginServices, 'devService' | 'uploadService' | 'wixInstance' | 'editorProps' | 'modals'>;
    config: ImagePluginEditorConfig;
    publicCommands: PublicCommands;
    nodeId?: string;
    files?: File[];
    pos?: number;
    referenceElement?: HTMLElement;
}) => Promise<Promise<void>[] | undefined>;
//# sourceMappingURL=handle-image-upload.d.ts.map