import { Component } from 'react'; import { PageComponent } from '../../types/index'; import QiniuUploader from './qiniuUploader'; declare type limitType = '==' | '<=' | '<' | '>' | '>=' | '!='; declare type whProportionType = { width: number; height: number; }; declare type imgCondition = { aspectRatio?: number; maxWidth?: number; minWidth?: number; maxHeight?: number; minHeight?: number; whProportion?: whProportionType; validateVolume?: { proportion?: whProportionType; limit: limitType; width: number; height: number; }[]; fileSizeMax?: number; fileSizeMin?: number; fileSizeLimitValue?: number; fileSizeLimit?: limitType; fileType?: string[]; maxLength?: number; minLength?: number; required?: boolean; imgTotalLimit?: number[]; maxNumber?: { limit: number; keys: string[]; }; minNumber?: { limit: number; keys: string[]; }; equal?: { limit: number; keys: string[]; }; pattern?: string; defaultUploadRender?: any; }; export declare class Uploder extends Component void; onValidate?: (task: any, config: any, image: HTMLImageElement) => boolean; CDNToken: string; CDNUrl: string; }>> { state: { uploader: any; uploadProgress: number; dialogWidth: number; previewVisible: boolean; status: string; loading: boolean; }; constructor(props: any); UNSAFE_componentWillReceiveProps(nextProps: any): void; resetUpLoadService(): void; initUploadService(): QiniuUploader; validateImageTypeTransaction({ task, config, image }: { task: any; config: any; image: any; }): { task: any; config: any; image: any; }; validateImageWHTransaction({ task, config, image }: { task: any; config: any; image: any; }): { task: any; config: any; image: any; }; validateImageSizeTransaction({ task, config, image }: { task: any; config: any; image: any; }): { task: any; config: any; image: any; }; validateCustomTransaction({ task, config, image }: { task: any; config: any; image: any; }): { task: any; config: any; image: any; }; onHandleClick(e: any): false | void; onHandleFileDrop(e: any): false | void; onHandleDropMove(e: any): void; onPreview(e: any): void; onDelete(e: any): boolean; renderProgress(): JSX.Element; renderImgPreview(): JSX.Element; renderUpload(): any; renderContent(): any; render(): JSX.Element; } export {};