import { IAttachment, IUploadAttachment, IUploadEvents, IUploadLimits, IUploadOptions, IUploadWarn } from '../types/file'; declare type IUploadOperProps = IUploadOptions & IUploadLimits & IUploadEvents; export declare class UploadOper { uploadOptions: IUploadOptions; limitOptions: IUploadLimits; attachments: { [key: string]: IUploadAttachment[]; }; constructor(options?: IUploadOperProps); parseUploadOptions({ prefix, storeTo, timeout, meta }: IUploadOptions, write?: boolean): { prefix?: string | undefined; storeTo?: string | undefined; timeout?: number | undefined; meta?: any; generateAdobeIllustratorImages?: boolean | undefined; }; parseLimitOptions({ fileMimeType, maxFileCount, maxFileSize, singleFileSize }: IUploadLimits, write?: boolean): { fileMimeType?: string[] | undefined; maxFileCount?: number | undefined; maxFileSize?: number | undefined; singleFileSize?: number | undefined; }; initialize(meta: any): void; upload: ({ files, attachments, autoOpen, options, onWarn, }: { files: File[]; attachments?: IAttachment[] | undefined; autoOpen?: boolean | undefined; options?: Omit | undefined; onWarn?: ((warns: IUploadWarn[]) => void) | undefined; }) => string; private uploadAttachments; private uploadAttachment; private uploadFile; private uploadMetaItems; private getMetaFiles; private handleMetaAttachments; private assertUnreachable; private getSumOfProgress; clear: (queueId: string) => void; remove: (fileId: string, queueId?: string | undefined) => void; private checkFiles; } export {};