import { Storage } from "./Storage.js"; import { S3StorageConfig } from "./S3StorageConfig.js"; import { Readable } from "stream"; import { Access } from "./types/Access.js"; import { PutOptions } from "./types/PutOptions.js"; import { GetOptions } from "./types/GetOptions.js"; export declare class S3Storage implements Storage { private s3; private bucket; private tmpPath; constructor(config: S3StorageConfig); toJSON(): { bucket: string; tmpPath: string; }; toString(): string; putFilePath(key: string, filePath: string, { access }?: { access?: Access; }): Promise; putStream(key: string, stream: Readable, { access }?: { access?: Access; }): Promise; putBuffer(key: string, buffer: Buffer, { access }?: { access?: Access; }): Promise; getFilePath(key: string): Promise; getStream(key: string): Promise; getBuffer(key: string): Promise; getUrl(key: string): Promise; getSignedUrl(key: string, options?: GetOptions): Promise; putSignedUrl(key: string, options: PutOptions): Promise<{ url: string; headers: Record; }>; delete(key: string): Promise; listDir(keyPrefix: string, limit?: number): Promise; listAll(prefix: string, limit?: number): Promise; listEach(prefix: string, limit?: number): AsyncGenerator; create(): Promise; destroy(): Promise; } //# sourceMappingURL=S3Storage.d.ts.map