import type { AudioComponentData, FileComponentData, ImageComponentData, VideoComponentData } from '../../ricos-content/index.js';
import type { UploadFn } from '../../ricos-types/upload-services-types.js';
export type PickMediaFn = (args: {
    mimeType: string;
    multiple: boolean;
}) => Promise<{
    type: 'file';
    file: File[];
    customUploadFn?: UploadFn;
} | {
    type: 'ready-media';
    media: (ImageComponentData | VideoComponentData | FileComponentData | AudioComponentData)[];
} | {
    type: 'cancel';
}>;
//# sourceMappingURL=pick-media.d.ts.map