export declare abstract class RequestCollector { private readonly maxBatchSize; private readonly collectingIntervalMs; readonly variant?: unknown | undefined; private readonly logger; private requestedCalls; private actualCalls; private timer?; private activeRegisterCalls; private activeConsumeCalls; protected readonly label: string; private pending; private waitingEntries; protected constructor(label: string, maxBatchSize: number, collectingIntervalMs: number, variant?: unknown | undefined); private batchSupported; protected abstract keyToString(key: Key): string; protected abstract fetchBatch(keys: Key[]): Promise; protected fetchSingle?(key: Key): Promise; protected isBatchUnsupportedError?(error: unknown): boolean; protected onIdle?(): void; dispose(): void; collectMany(keys: Key[]): Promise[]>; collect(key: Key): Promise; private registerCall; private consumeWaitingEntries; private maybeFireOnIdle; private fetchChunk; private clearTimer; } //# sourceMappingURL=RequestCollector.d.ts.map