import { BuildingBlockScope } from '@aws-blocks/core/cdk'; import type { ScopeParent } from '@aws-blocks/core'; import type { FileBucketOptions, ExternalBucketRef, ExternalKmsKeyRef } from './types.js'; export { FileBucketErrors } from './errors.js'; export type { FileBucketOptions, PutOptions, GetUrlOptions, PutUrlOptions, ScanOptions, FileContent, FileInfo, CorsRule, LifecycleRule, ExternalBucketRef, ExternalKmsKeyRef, ObjectLockOptions, FileDownloadClient, FileUploadClient, FileVersionInfo, FileDownloadDescriptor, FileUploadDescriptor, VersionedGetOptions, VersionedDeleteOptions, VersionedGetUrlOptions, GetOptionsFor, DeleteOptionsFor, GetUrlOptionsFor, } from './types.js'; export declare class FileBucket extends BuildingBlockScope { private bucket; /** * Reference an existing S3 bucket instead of provisioning a new one. * Mirrors the same factory exposed by the runtime build so the same code * works in both contexts. */ static fromExisting(bucketName: string): ExternalBucketRef; /** * Reference an existing customer-managed KMS key by ARN, to pass as the * `encryption` option so several buckets (or tables) can share one key. * Mirrors the same factory exposed by the runtime build so the same code * works in both contexts. */ static fromKmsKey(keyArn: string): ExternalKmsKeyRef; constructor(scope: ScopeParent, id: string, options?: O); put(..._args: unknown[]): never; get(..._args: unknown[]): never; delete(..._args: unknown[]): never; deleteBatch(..._args: unknown[]): never; getUrl(..._args: unknown[]): never; putUrl(..._args: unknown[]): never; getFileHandle(..._args: unknown[]): never; createUploadHandle(..._args: unknown[]): never; scan(..._args: unknown[]): never; listVersions(..._args: unknown[]): never; restoreVersion(..._args: unknown[]): never; } //# sourceMappingURL=index.cdk.d.ts.map