import { DropzoneManager } from "./DropzoneManager"; import { UploadingFile } from "./UploadingFile"; export declare class UploadingFilesQueue { manager: DropzoneManager; /** * Uploading files list */ files: UploadingFile[]; /** * Queue state */ state: "idle" | "processing"; /** * Max uploading files in parallel */ maxParallelUploads: number; /** * Current uploading files */ currentUploadingFiles: number; /** * Toast loader handler */ toastLoader: any; /** * Constructor */ constructor(manager: DropzoneManager); /** * Push files to queue */ push(...files: UploadingFile[]): this; /** * Start uploading files */ process(): Promise; protected proceed(): Promise; /** * Check if queue is at max capacity */ protected queueIsAtMaxCapacity(): boolean; /** * Upload next file */ protected uploadNextFile(): Promise; /** * Upload multiple files in parallel */ uploadInParallelFiles(maxParallelUploads: number): Promise; /** * Update queue state */ protected updateState(state: "idle" | "processing"): void; /** * Update the message of the files that are being uploaded right now */ protected updateTotalUploadingFilesMessage(): void; /** * Mark toast as upload completed */ protected markToastAsUploadCompleted(): void; /** * Get total files that are marked as uploaded */ getTotalUploadedFiles(): number; /** * Get current uploading files */ getCurrentUploadingFiles(): UploadingFile[]; /** * Remove file from queue */ remove(file: UploadingFile): this; } //# sourceMappingURL=UploadingFileQueue.d.ts.map