export declare function cleanupNonRedisUploads(s3?: any): Promise; export declare function saveUploadMeta(id: string, meta: any, ttl?: number): Promise; export declare function refreshUploadTTL(id: string, ttl?: number, s3?: any): Promise; export declare function deleteUploadMeta(id: string, key?: string): Promise; export declare function getUploadMeta(id: string): Promise; export declare function getResumableUploadId(key: string): Promise; export declare function cleanupStaleUploads(s3?: any): Promise; export declare function findUpload({ id }: { id: string; }, s3?: any): Promise<{ UploadId: string | undefined; Key: any; Bucket: any; fileSize: any; ContentType: any; uploaded: any; parts: any; }>; export declare function startUpload({ Bucket, Key, ContentType, fileSize, }: { Bucket: string; Key: string; ContentType: string; fileSize: number; }, s3?: any): Promise<{ Key: string; Bucket: any; UploadId: any; fileSize: any; extension: any; ContentType: any; cache: boolean; } | { UploadId: any; Key?: undefined; Bucket?: undefined; fileSize?: undefined; extension?: undefined; ContentType?: undefined; cache?: undefined; }>; export declare function savePart(id: string, part: { ETag: string; PartNumber: number; }): Promise; export declare function getStoredParts(id: string): Promise; export declare function deleteUploadParts(id: string): Promise; export declare function uploadChunk({ id, chunk, partNumber, }: { id: string; chunk: any; partNumber: number; }, s3?: any): Promise<{ UploadId: string | undefined; Key: any; Bucket: any; fileSize: any; ContentType: any; uploaded: any; parts: any; }>; export declare function finishUpload({ id, }: { id: string; }, s3?: any): Promise<{ finished: boolean; uploaded: number | undefined; filepath: any; }>; export declare function abortUpload({ id, }: { id: string; }, s3?: any): Promise<{ aborted: boolean; }>; export declare function getUploadStatus({ id, Key, Bucket, }: { id: string; Key?: string; Bucket?: string; }, s3?: any): Promise<{ exists: boolean; uploaded: any; finished?: undefined; id?: undefined; size?: undefined; parts?: undefined; } | { exists: boolean; finished: boolean; uploaded: any; id: string; size: number | undefined; parts: any; }>; //# sourceMappingURL=s3.d.ts.map