export declare function batchPromises(batchSize: number, msBetweenBatches: number, promises: (() => Promise)[], failOnError?: boolean): Promise[]>; export declare function batchSettled(promises: (() => Promise)[], batchSize: number, msBetweenBatches?: number): Promise<(PromiseRejectedResult | PromiseFulfilledResult>)[]>; export declare function runPromiseBatches(batches: (() => Promise)[][], msBetweenBatches?: number): Promise<(PromiseRejectedResult | PromiseFulfilledResult>)[]>; export declare function batchPromisesAndSplitSettlements(promises: (() => Promise)[], batchSize: number, msBetweenBatches?: number): Promise<{ results: Awaited[]; errors: Error[]; }>; export declare function splitAllSettled(promises: (() => Promise)[]): Promise<{ results: Awaited[]; errors: Error[]; }>; export declare function splitSettlements(batchResults: PromiseSettledResult[]): { results: T[]; errors: Error[]; }; export declare function runWithPartialFailure(items: T[], fn: (item: T) => Promise, onError: (error: unknown) => void, allFailedMessage: string): Promise; export declare function splitSettlementsAndAssert(batchResults: PromiseSettledResult[], failOnError?: boolean): T[]; //# sourceMappingURL=batch-promises.d.ts.map