import { Prop, KeyValuePairs } from '../typings/types'; interface FromPairs { (pairs: KeyValuePairs): Record; } /** * Creates a new object from a list key-value pairs. If a key appears in * multiple pairs, the rightmost pair is included in the object. * * @param {Array} arr An array of two-element arrays that will be the keys and values of the output object. * @return {Object} The object made by pairing up `keys` and `values`. * @example * * fromPairs([['a', 1], ['b', 2], ['c', 3]]); //=> {a: 1, b: 2, c: 3} */ declare const _default: FromPairs; export default _default;