import { LocalStorageAdapter } from './local.js'; import { S3StorageAdapter } from './s3.js'; export type { LocalStorageAdapter, S3StorageAdapter }; export { createStorageOperations } from './operations.js'; export type { PrepareUploadResult, StorageDownload, StorageExecutionContext, StorageOperations, StorageOperationsOptions, } from './operations.js'; export interface PresignPutOptions { contentType?: string; expiresIn: number; } export interface PresignGetOptions { expiresIn: number; } export interface StorageAdapter { 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 full object keys under a prefix (used to reap transform derivatives). */ list?(prefix: string): Promise; } //# sourceMappingURL=index.d.ts.map