///
import type React from 'react';
import { Promise as ES6Promise } from 'es6-promise';
import type { AdapterFile, CommonFileItem, UploadCommonProps } from './type';
export declare class Upload {
props: UploadCommonProps;
fileRef: React.MutableRefObject;
cacheRef: React.MutableRefObject;
timeOutEvent: NodeJS.Timeout | number;
constructor(props: UploadCommonProps, fileRef: React.MutableRefObject, cacheRef: React.MutableRefObject);
init(): void;
handleFile: (newFiles: File[]) => void;
handleChange: (event: any, fromAdapter?: boolean | undefined) => void;
deleteFile: (index: number) => void;
retryUpload: (index: number) => void;
handleSelect: (e: React.MouseEvent) => void;
handleClick: (e: React.MouseEvent, file: FileItem, index: number) => void;
handleTouchStart: (e: React.TouchEvent, image: FileItem, index: number) => void;
}
export declare const parseFile: (file: AdapterFile) => ES6Promise;