import type { RtspTunnelEvents } from "./events.js"; import type { StorageAdapter } from "./storage.js"; type CtxLike = { log: (...args: any[]) => void; }; export declare class StorageWorker { private readonly ctx; private readonly events; private readonly storage; private readonly concurrency; private readonly deleteAfterStore; private running; private inFlight; private queue; private onCapturedBound; constructor(ctx: CtxLike, events: RtspTunnelEvents, storage: StorageAdapter, concurrency?: number, deleteAfterStore?: boolean); start(): void; stop(): Promise; private pump; } export {}; //# sourceMappingURL=storage-worker.d.ts.map