import { type Writable } from 'node:stream'; import type { Dispatcher } from 'undici'; import { type AtprotoDid } from '@atproto/did'; import type { Cid } from '@atproto/lex'; import type { AppContext } from '../context.js'; import { type Middleware } from '../util/http.js'; export declare function createMiddleware(ctx: AppContext): Middleware; export type StreamBlobOptions = { cid: string; did: string; acceptEncoding?: string; signal?: AbortSignal; }; export type StreamBlobFactory = (data: Dispatcher.StreamFactoryData, info: { url: URL; did: AtprotoDid; cid: Cid; }) => Writable; export declare function streamBlob(ctx: AppContext, options: StreamBlobOptions, factory: StreamBlobFactory): Promise>; //# sourceMappingURL=blob-resolver.d.ts.map