import { S3Client } from '@aws-sdk/client-s3'; import { PassThrough, Readable } from 'stream'; interface FileOperationArgs { client: S3Client; bucket: string; key: string; } export interface UploadResult { Location: string; ETag?: string; Bucket?: string; Key?: string; key?: string; } export declare const fileExists: ({ client, bucket, key }: FileOperationArgs) => Promise; export declare const download: ({ client, writeStream, bucket, key, }: FileOperationArgs & { writeStream: NodeJS.WritableStream; }) => Promise; export declare const upload: ({ client, readStream, bucket, key, contentType, }: FileOperationArgs & { readStream: Readable; contentType: string; }) => Promise; export declare const uploadThrough: ({ key, contentType, bucket, client, }: FileOperationArgs & { contentType: string; }) => PassThrough; export {};