import stream from 'node:stream'; import { CID } from 'multiformats/cid'; import { BlobStore } from '@atproto/repo'; import { StatusAttr } from '../../lexicon/types/com/atproto/admin/defs'; import { ActorDb } from '../db'; export declare class BlobReader { db: ActorDb; blobstore: BlobStore; constructor(db: ActorDb, blobstore: BlobStore); getBlobMetadata(cid: CID): Promise<{ size: number; mimeType?: string; }>; getBlob(cid: CID): Promise<{ size: number; mimeType?: string; stream: stream.Readable; }>; listBlobs(opts: { since?: string; cursor?: string; limit: number; }): Promise; getBlobTakedownStatus(cid: CID): Promise; getRecordsForBlob(cid: CID): Promise; getBlobsForRecord(recordUri: string): Promise; blobCount(): Promise; recordBlobCount(): Promise; listMissingBlobs(opts: { cursor?: string; limit: number; }): Promise<{ cid: string; recordUri: string; }[]>; getBlobCids(): Promise; } //# sourceMappingURL=reader.d.ts.map