import { Component } from 'react'; import { UploadFile, UploadChangeParam, RcFile } from 'antd/lib/upload/interface'; export interface PicturesWallType { fileList?: UploadFile[]; action?: string; headers?: any; withCredentials?: boolean; maxLen?: number; onChange?: (v: any) => void; cropRate?: number; isCrop?: boolean; } declare class PicturesWall extends Component { state: { previewVisible: boolean; previewImage: string; wallModalVisible: boolean; previewTitle: string; imgBed: { photo: never[]; bg: never[]; chahua: never[]; }; curSelectedImg: string; fileList: UploadFile[]; }; handlePreview: (file: UploadFile) => Promise; handleCancel: () => void; handleModalCancel: () => void; handleImgSelected: (url: string) => void; handleWallShow: () => void; handleModalOk: () => void; handleChange: ({ file, fileList }: UploadChangeParam>) => void; handleBeforeUpload: (file: RcFile) => boolean; render(): JSX.Element; } export default PicturesWall;