import { UploadProps, UploadFile } from 'antd/lib/upload/interface';
declare type status = 'error' | 'uploading' | 'success';
export interface RcFile extends File {
    uid: string;
    readonly lastModifiedDate: Date;
    readonly webkitRelativePath: string;
}
export interface NosFileProps {
    file: RcFile;
    fileKey: string;
    fileName: string;
    progress: string;
    status: status;
    xhr: XMLHttpRequest;
}
export interface UploadFileProps extends Omit<UploadFile, 'uid'> {
    uid?: string;
    nosKey: string;
    name: string;
    url: string;
    canDownload: boolean;
    transformId?: string | number;
    transformType?: 'KM' | 'YX_VIDEO' | 'YX_AUDIO' | 'NONE';
    yxInfo?: IObject;
}
export interface UploadChunkProps extends Omit<UploadProps, 'fileList' | 'onChange' | 'customRequest'> {
    encrypt?: boolean;
    transformType?: ('KM' | 'YX')[];
    canDownload?: boolean;
    text?: string;
    dragger?: boolean;
    filterErrorFile?: boolean;
    canRepeat?: boolean;
    children?: React.ReactNode;
    bucketName?: string;
    trunkSize?: number;
    validFileType?: string[];
    fileList?: UploadFileProps | UploadFileProps[];
    maxCount?: number;
    maxSize?: number;
    extra?: React.ReactNode;
    onChange?: (fileList: UploadFileProps | UploadFileProps[], file: UploadFileProps) => void;
}
export {};
