/** * Storage backend abstraction for file persistence. * Implementations: DiskFileStorage (local dev), R2FileStorage (prod). */ export interface FileStorage { write(key: string, data: Buffer): Promise; read(key: string): Promise; delete(key: string): Promise; exists(key: string): Promise; } export const FILE_STORAGE = Symbol("FILE_STORAGE");