import type { EditContextType } from "../client/editContext";
import type { ItemDescriptor } from "../pageModel";
import type { Thumbnail } from "../services/contentService";
export type MediaUploadResponse = {
    success: boolean;
    message?: string;
    id?: string;
    requiresReplaceConfirmation: boolean;
    replaced: boolean;
    existingId?: string;
    existingName?: string;
};
type UploadMediaFilesOptions = {
    files: File[];
    folderId: string;
    editContext?: EditContextType;
    language?: string;
};
type ReplaceMediaItemOptions = {
    file: File;
    mediaItem: Pick<Thumbnail, "id" | "name">;
    editContext?: EditContextType;
    language?: string;
    itemDescriptor?: ItemDescriptor;
    refreshFields?: string[];
    skipConfirmation?: boolean;
};
export declare function uploadMediaFiles({ files, folderId, editContext, language, }: UploadMediaFilesOptions): Promise<MediaUploadResponse[]>;
export declare function replaceMediaItemWithFile({ file, mediaItem, editContext, language, itemDescriptor, refreshFields, skipConfirmation, }: ReplaceMediaItemOptions): Promise<MediaUploadResponse | undefined>;
export {};
