import type { BlobRef, BlobStorage, StoreBlobOptions } from "./types.js"; export declare class LocalBlobStorage implements BlobStorage { private rootDir; private baseUrl?; private fs; private now; constructor(rootDir: string, baseUrl?: string, options?: { now?: () => Date; }); private getPath; private getMetadataPath; put(data: string | Uint8Array | Blob | ReadableStream, options?: StoreBlobOptions): Promise; private normalizeToBytes; getStream(id: string): Promise; getText(id: string): Promise; getBytes(id: string): Promise; delete(id: string): Promise; exists(id: string): Promise; stat(id: string): Promise; private listPartitionPrefixes; private listMetadataIds; /** * Enumerate every stored (non-expired) blob, newest first. Walks the same * two-char-prefix partitions as {@link cleanupExpiredBlobs}, reading each * `.meta.json` sidecar. Used by the chat upload handler's list endpoint. */ list(): Promise; /** * Cleans up all expired blobs from storage. * This method should typically be run periodically by an external process. */ cleanupExpiredBlobs(): Promise; } //# sourceMappingURL=local-storage.d.ts.map