/** * Find the index/key of a value in a collection using a predicate * * @param {Collection} collection * @param {Predicate} predicate * * @returns {number|string|any} */ export default function findIndex(collection: Collection, predicate: Predicate): number | string | any;