import type { PresignGetOptions, PresignPutOptions, StorageAdapter } from './index.js'; interface S3Config { bucket: string; region: string; accessKeyId: string; secretAccessKey: string; endpoint?: string; publicUrl?: string; } export declare class S3StorageAdapter implements StorageAdapter { private client; private readonly publicUrl?; constructor(cfg: S3Config); upload(fileId: string, data: Blob | ArrayBuffer, contentType: string): Promise; get(fileId: string): Promise; delete(fileId: string): Promise; exists(fileId: string): Promise; presignPut(key: string, opts: PresignPutOptions): Promise; presignGet(key: string, opts: PresignGetOptions): Promise; stat(key: string): Promise<{ size: number; contentType: string; } | null>; publicUrlFor(key: string): string | undefined; list(prefix: string): Promise; } export {}; //# sourceMappingURL=s3.d.ts.map