export type MapAsync = lodash.CurriedFunction3< T[], (element: T, index: number) => R | Promise, { concurrency?: number }, Promise >; export type ForEachAsync = ( array: T[], func: (element: T, index: number) => R | Promise, options?: { concurrency?: number } ) => Promise;