import { AsyncTask, StorageCredentials } from "./types"; export interface CreateUploadTaskOptions { sourceDir: string; fileList?: string[]; destinationDir: string; uploadBucket: string; baseUrl: string; credentials: StorageCredentials; } /** * Creates an async task for uploading files to R2 or S3 storage. * * @param {Object} params - The upload parameters * @param {string} params.sourceDir - The source directory containing files to upload * @param {string[]} [params.fileList] - Optional list of specific files to upload * @param {string} params.destinationDir - The destination directory in storage * @param {string} params.uploadBucket - The bucket to upload to * @param {string} params.baseUrl - The base URL for generating file URLs * @param {StorageCredentials} params.credentials - Storage credentials for R2 or S3. * @returns {AsyncTask} An async task that when executed will upload the files and return a map of file paths to URLs */ export declare function createUploadTask({ sourceDir, fileList, destinationDir, uploadBucket, baseUrl, credentials, }: CreateUploadTaskOptions): AsyncTask; //# sourceMappingURL=upload-task.d.ts.map