/** @module array/pluck.ts */ export declare function pluck(key: B, arr: A[][]): Array; export declare function pluck(key: B, arr: A[]): Array; export declare function pluck(key: number): (arr: A[][]) => Array; /** * Takes an key (or index) and an array of arrays or objects and returns * the selected key from each row * @example * pluck(1, [ [1,2,3], [4,5,6] ] ) * //=> [2,5] * pluck('a',[ {a:1,b:2}, {a:3,b:4}]) * // => [1,3] */ export declare function pluck(keys: A): (arr: B) => B; export default pluck;