/** * Deeply extracts multiple values from a nested object structure. * Functions identical to `get`, except where `get` stops with the first * matching path, this function will keep finding all items that match. * Supports using wildcards in paths to iterate over all keys of an * object or array. * * @param {Object|Array} target Structure to get a value from. * @param {string|Array} path Property Key, dot-notation path, * or array of key names which describes the target value. * * @returns {Array} * @category Collections */ export default function collect(target: any | any[], path: string | Array): any[];