/** * Storage Buckets API wrapper. * Provides a simplified interface for storing blobs and binary data. * Falls back to IndexedDB when Storage Buckets API is not available. */ /** * Bucket interface for blob storage operations. */ export interface Bucket { /** * Store a blob in the bucket. * @param key - Unique identifier for the blob * @param data - Blob data to store */ put(key: string, data: Blob): Promise; /** * Retrieve a blob from the bucket. * @param key - Blob identifier * @returns The stored blob or null if not found */ get(key: string): Promise; /** * Remove a blob from the bucket. * @param key - Blob identifier */ remove(key: string): Promise; /** * List all keys in the bucket. * @returns Array of blob keys */ keys(): Promise; } /** * Bucket manager for creating and accessing storage buckets. */ export declare const buckets: { /** * Open or create a storage bucket. * @param name - Bucket name * @returns Bucket instance for blob operations */ open(name: string): Promise; }; //# sourceMappingURL=buckets.d.ts.map