type PropertyName = string | number | symbol; /** * Converts an array of key-value pairs into an object. * * @template T - The type of the values. * @param {ArrayLike<[PropertyName, T]> | null | undefined} pairs - An array of key-value pairs. * @returns {Record} - An object where keys are strings and values are of type T. * * @example * const pairs = [['a', 1], ['b', 2]]; * const result = fromPairs(pairs); * // => { a: 1, b: 2 } */ declare function fromPairs(pairs: ArrayLike<[PropertyName, T]> | null | undefined): Record; /** * Converts an array of key-value pairs into an object. * * @param {ArrayLike | null | undefined} pairs - An array of key-value pairs. * @returns {Record} - An object where keys are strings and values can be any type. * * @example * const pairs = [['a', 1], ['b', 'hello']]; * const result = fromPairs(pairs); * // => { a: 1, b: 'hello' } */ declare function fromPairs(pairs: ArrayLike | null | undefined): Record; export { fromPairs };