import React from 'react'; import { ImagePickerPropTypes as BasePropsType } from './PropsType'; export interface ImagePickerPropTypes extends BasePropsType { flexPrefixCls?: string; prefixCls?: string; className?: string; } export default class ImagePicker extends React.Component { static defaultProps: { flexPrefixCls: string; prefixCls: string; files: never[]; onChange: null; onImageClick: null; onAddImageClick: null; onFail: null; selectable: boolean; multiple: boolean; accept: string; length: number; limit: null; }; fileSelectorInput: HTMLInputElement | null; getOrientation: (file: any, callback: (_: number) => void) => void; getRotation: (orientation?: number) => number; removeImage: (index: number) => void; addImage: (imgItem: any) => void; onImageClick: (index: number) => void; onFileChange: () => Promise; parseFile: (file: any, index: number) => Promise; render(): JSX.Element; }