import { Many } from '../_internal/Many.js'; import { PropertyPath } from '../_internal/PropertyPath.js'; /** * Creates a new object composed of the picked object properties. * * @template T - The type of object. * @template U - The type of keys to pick. * @param {T} object - The object to pick keys from. * @param {...Array>} props - An array of keys to be picked from the object. * @returns {Pick} A new object with the specified keys picked. * * @example * const obj = { a: 1, b: 2, c: 3 }; * const result = pick(obj, ['a', 'c']); * // result will be { a: 1, c: 3 } */ declare function pick(object: T, ...props: Array>): Pick; /** * Creates a new object composed of the picked object properties. * * @template T - The type of object. * @param {T | null | undefined} object - The object to pick keys from. * @param {...Array>} props - An array of keys to be picked from the object. * @returns {Partial} A new object with the specified keys picked. * * @example * const obj = { a: 1, b: 2, c: 3 }; * const result = pick(obj, ['a', 'c']); * // result will be { a: 1, c: 3 } */ declare function pick(object: T | null | undefined, ...props: Array>): Partial; export { pick };