/** * Runs `fn` over `items` with at most `parallel` calls in flight. Results * come back in item order, whatever order the calls finish in. `parallel` * is clamped to at least one worker; a non-finite value means one. */ export declare function mapInParallel(items: readonly T[], parallel: number, fn: (item: T, index: number) => Promise): Promise;