/** biome-ignore-all lint/suspicious/noExplicitAny: <> */ import type { Fn } from '@chzky/core'; /** ## `take` : 对象提取指定key @example Usage ```ts const CITY = 'NanJing' const info = { name: 'jiojio', age: 18, address: { city: CITY } } const res = pipe(info, take('address'), take('city')) assert.equal(res, CITY) // normal call assert.equal(take({ name: 'jiojio' }, 'name'), 'jiojio') ``` @category Collect */ export declare function take(obj: T, key: K): T[K]; export declare function take(key: K): Fn; //# sourceMappingURL=take.d.ts.map