/** * Handles serial processing of items with automatic batching * Only one processing operation runs at a time, with new items * automatically queued for the next batch. */ export declare class SerialBatchProcessor { private readonly processBatch; private queue; private processingPromise; constructor(processBatch: (items: T[]) => Promise); enqueue(item: T): void; waitForCompletion(): Promise; private startProcessing; }