import React from 'react'; export interface IFileProp { uid: string; name?: string; status?: string; url: string; } export interface IPicturesWall { onChange: (value: any) => void; action: string; initImageUrls?: IFileProp[] | string[]; maxFileLength: number; fileTypes?: string[]; fileSize?: number; origin?: boolean; disabled?: boolean; } export default class Avatar extends React.Component { private defaultFileTypes; private defaultFileSize; state: { previewVisible: boolean; previewImage: string; fileList: any[]; fileTypes: any; fileSize: any; maxFileLength: number; }; componentDidMount(): void; componentWillReceiveProps(newProps: any): void; init: (initImageUrls: any, origin: any) => void; handleCancel: () => any; handlePreview: (file: any) => Promise; handleChange: (info: any) => void; beforeUpload: (file: any) => boolean; render(): any; }