import * as React from 'react'; import { ImagePickerPropTypes } from './PropsType'; import './style/index.less'; declare function noop(): void; export default class ImagePicker extends React.Component { static defaultProps: { prefixCls: string; files: never[]; onChange: typeof noop; onImageClick: typeof noop; onAddImageClick: typeof noop; onFail: typeof noop; selectable: boolean; multiple: boolean; accept: string; length: number; capture: boolean; disableDelete: boolean; }; fileSelectorInput: HTMLInputElement | null; getOrientation: (file: any, callback: (_: number) => void) => void; getRotation: (orientation?: number) => number; addImage: (imgItem: any) => void; removeImage: (index: number) => void; onImageClick: (index: number) => void; onFileChange: () => void; parseFile: (file: any, index: number) => Promise; render(): JSX.Element; } export declare const ImageUpload: React.ComponentClass<{}, any>; export {};