import type { PluginServices } from '../ricos-plugins/editor-plugins.js';
import type { PublicCommands } from '../ricos-types/index.js';
import { type MediaUploadFn } from '../_shared/create-media-upload-fn.js';
import type { PickMediaFn } from '../_shared/media/pick-media.js';
import type { PublicPickMedia } from '../_shared/media/public-pick-media.js';
import type { GalleryPluginEditorConfig } from './types.js';
export declare const getGalleryPickMedia: ({ services, handleFileUpload, }: {
    services: Pick<PluginServices, 'devService' | 'uploadService' | 'wixInstance' | 'editorProps'>;
    handleFileUpload: MediaUploadFn;
}) => PickMediaFn | PublicPickMedia['pickGallery'];
export declare const handleGalleryUpload: ({ publicCommands, services, config, nodeId, fileState, referenceElement, }: {
    publicCommands: PublicCommands;
    services: Pick<PluginServices, 'devService' | 'uploadService' | 'wixInstance' | 'editorProps' | 'modals'>;
    config?: GalleryPluginEditorConfig;
    nodeId?: string;
    fileState?: {
        itemIndex: number;
    };
    referenceElement?: HTMLElement;
}) => Promise<void>;
//# sourceMappingURL=handle-gallery-upload.d.ts.map