export default function map(arr: T[], callback: (it: T, i?: number, arr?: T[]) => Promise

): Promise;