UNPKG

@rudderstack/workflow-engine

Version:
14 lines 466 B
import { BatchResult } from '../types'; export declare class BatchUtils { static chunkArrayBySizeAndLength(array: any[], options?: { maxSizeInBytes?: number; maxItems?: number; }): { items: any[][]; indices: number[][]; }; static validateBatchResults(input: any[], batchResults: BatchResult[]): void; private static isSizeLimitReached; private static isLengthLimitReached; } //# sourceMappingURL=batch.d.ts.map