export default map; /** * Exposed map function. You can do cool stuff with that! * * @description * The pure map function is more powerful because it can be used on data types * other than Array too. * * @template T, B * @param {(item: T, idx?: number) => B} f - Mapping function. * @return {(x: Array) => Array} Mapped array. */ declare function map(f: (item: T, idx?: number) => B): (x: Array) => Array;