export declare const COMPLETE_FILE_UPLOAD = "COMPLETE_FILE_UPLOAD"; export declare const FAIL_FILE_UPLOAD = "FAIL_FILE_UPLOAD"; export declare const FAIL_FOLDERS_LOAD = "FAIL_FOLDERS_LOAD"; export declare const FAIL_MEDIA_UPLOAD = "FAIL_MEDIA_UPLOAD"; export declare const MEDIA_UPLOAD_SUCCESS = "MEDIA_UPLOAD_SUCCESS"; export declare const PROCESSED_FOLDER_BATCH = "PROCESSED_FOLDER_BATCH"; export declare const QUOTA_EXCEEDED_UPLOAD = "QUOTA_EXCEEDED_UPLOAD"; export declare const RECEIVE_FOLDER = "RECEIVE_FOLDER"; export declare const START_FILE_UPLOAD = "START_FILE_UPLOAD"; export declare const START_LOADING = "START_LOADING"; export declare const START_MEDIA_UPLOADING = "START_MEDIA_UPLOADING"; export declare const STOP_LOADING = "STOP_LOADING"; export declare const STOP_MEDIA_UPLOADING = "STOP_MEDIA_UPLOADING"; export declare const TOGGLE_UPLOAD_FORM = "TOGGLE_UPLOAD_FORM"; export declare function startLoading(): { type: string; }; export declare function stopLoading(): { type: string; }; export declare function receiveFolder({ id, name, parentId }: { id: any; name: any; parentId: any; }): { type: string; id: any; name: any; parentId: any; }; export declare function failFoldersLoad(error: any): { type: string; error: any; }; export declare function failMediaUpload(error: any): { type: string; error: any; }; export declare function mediaUploadSuccess(): { type: string; }; export declare function startUpload(fileMetaProps: any): { type: string; file: any; }; export declare function failUpload(error: any): { type: string; error: any; }; export declare function quotaExceeded(error: any): { type: string; error: any; }; export declare function completeUpload(results: any): { type: string; results: any; }; export declare function openOrCloseUploadForm(): { type: string; }; export declare function processedFolderBatch({ folders }: { folders: any; }): { type: string; folders: any; }; export declare function startMediaUploading(fileMetaProps: any): { type: string; payload: any; }; export declare function stopMediaUploading(): { type: string; }; export declare function activateMediaUpload(fileMetaProps: any): (dispatch: any) => void; export declare function removePlaceholdersFor(name: any): (dispatch: any) => void; export declare function allUploadCompleteActions(results: any, fileMetaProps: any, contextType: any): ({ type: string; payload: { newImage: { id: any; filename: any; display_name: any; preview_url: any; thumbnail_url: any; }; contextType: any; }; } | { type: string; id: any; name: any; url: any; embed: any; fileType: any; } | { type: string; id: any; fileId: any; } | { type: string; results: any; })[]; export declare function embedUploadResult(results: any): any; export declare function fetchFolders(bookmark: any): (dispatch: any, getState: any) => any; export declare function mediaUploadComplete(error: any, uploadData: any): (dispatch: any, _getState: any) => void; export declare function createMediaServerSession(): (dispatch: any, getState: any) => any; export declare function uploadToIconMakerFolder(svg: any, uploadSettings?: {}): (_dispatch: any, getState: any) => any; export declare function uploadToMediaFolderWithoutEditor(fileMetaProps: any): (_: any, getState: any) => any; export declare function uploadToMediaFolder(fileMetaProps: any): (dispatch: any, getState: any) => any; export declare function setUsageRights(source: any, fileMetaProps: any, results: any): any; export declare function getFileUrlIfMissing(source: any, results: any): any; export declare function generateThumbnailUrl(results: any, fileDOMObject: any, reader: any): Promise; export declare function setAltText(altText: any, results: any): any; export declare function handleFailures(error: any, dispatch: any): any; export declare function uploadPreflight(fileMetaProps: any): (dispatch: any, getState: any) => Promise;