/** * Iterates over a collection with a predicate and produces an array of generated values. * * @param {Collection} collection * @param {Predicate} predicate * * @returns {Array} */ export default function map(collection: Collection, predicate: Predicate): any[];