/// export declare type ImageLoaded = { file: File; dataUrl: string; }; export declare type ImageUploaded = { url: string; }; export declare type ImageUploadType = (file: File, reportProgress: (progress: number) => void) => Promise; export declare type ImageUploadProps = { imageLoaded?: (image: ImageLoaded) => void; imageUpload: ImageUploadType; imageUploadError?: (errorCode: number) => void; imageUploaded: (resp: ImageUploaded) => void; icon?: JSX.Element; style?: React.CSSProperties; maxFileSize?: number; allowedExtensions?: string[]; translations?: { [key: string]: string; }; }; export declare type ImageUploadState = { isUploading: boolean; hasError: boolean; errorText: string | null; progress?: number; }; //# sourceMappingURL=types.d.ts.map