import { S3Client } from "@aws-sdk/client-s3"; /** * Enables versioning on an S3 bucket. * * @param bucketName The name of the S3 bucket. * @param region The AWS region of the bucket. * @returns A promise that resolves when versioning is enabled, or rejects on error. */ export declare function enableBucketVersioning(s3Client: S3Client, bucketName: string, enableVersioning: boolean): Promise; /** * Tests if versioning is working on an S3 bucket by putting a file, overwriting it, * and then retrieving all versions of the file. * Cleans up the test file after completion. * * @param bucketName The name of the S3 bucket. * @param region The AWS region of the bucket. * @param fileKey The key (path/filename) of the file to test. * @param initialContent The initial content of the file. * @param overwriteContent The content to overwrite the file with. * @returns A promise that resolves to true if versioning is working, false otherwise, or rejects on error. */ export declare function testBucketVersioning(bucketName: string, region: string, fileKey: string, initialContent: string, overwriteContent: string): Promise; //# sourceMappingURL=S3Version.d.ts.map