/** * Creates a new object containing only the specified properties from the source object. * Similar to lodash's pick function, but with a simpler implementation. * * @param props - An array of property names to extract from the source object * @param obj - The source object to pick properties from * @returns A new object containing only the specified properties that exist in the source * * @example * ```typescript * const user = { name: 'John', age: 30, email: 'john@example.com' }; * pick(['name', 'email'], user); * // Returns: { name: 'John', email: 'john@example.com' } * * // Non-existent properties are ignored * pick(['name', 'nonExistent'], user); * // Returns: { name: 'John' } * ``` */ export default function pick(props: string[], obj: Record): Record; //# sourceMappingURL=pick.d.ts.map