/** * Vercel Blob implementation of StorageProvider. * * Legacy backend retained during the GAP-208 Cloudflare R2 cutover so the * media-upload path can fall back to Vercel Blob when R2 is not configured. * Wraps @vercel/blob's put/del/list behind the provider-agnostic * StorageProvider interface. Cloudflare R2 (r2.ts) is the canonical backend; * this provider is removed once the Blob store is decommissioned. * * NOTE: distinct from vercel-blob.ts in this directory, which is the legacy * Payload-style upload *plugin* still wired into apps/admin's * revealui.config.ts. This file is the StorageProvider the createStorage * factory returns for the 'vercel-blob' tag. * * Server-only. Do NOT import from client-side code or edge runtime. */ import type { ListOptions, ListResult, PutOptions, PutResult, StorageProvider, VercelBlobConfig } from './types.js'; declare class VercelBlobProvider implements StorageProvider { readonly provider = "vercel-blob"; private readonly token; constructor(config: VercelBlobConfig); put(key: string, data: Blob | ArrayBuffer | Uint8Array | ReadableStream, opts?: PutOptions): Promise; del(keyOrUrl: string): Promise; list(opts?: ListOptions): Promise; } export declare function createVercelBlobProvider(config: VercelBlobConfig): StorageProvider; export type { VercelBlobProvider }; //# sourceMappingURL=vercel-blob-provider.d.ts.map