export default function runInBatch(functionsToRun: (() => Promise)[], batchSize?: number): Promise[]>;