import { Cast, IfCouldBe, KeyNarrowingIteratee, Nil, ObjectIteratee, ValueNarrowingIteratee } from '../interfaces'; /** * Creates an object composed of the `object` properties `predicate` returns truthy for. * * Differences from lodash: * - does not treat sparse arrays as dense * * Contribution to minified bundle size, when it is the only function imported: * - Lodash: 14,874 bytes * - Micro-dash: 307 bytes */ export declare function pickBy(object: T[] | Nil, predicate: ValueNarrowingIteratee): { [index: number]: Extract | Extract; }; export declare function pickBy(object: T[] | Nil, predicate: ObjectIteratee): { [index: number]: T; }; export declare function pickBy, O>(object: I, predicate: ValueNarrowingIteratee): { [K in { [KK in keyof T]: IfCouldBe; }[keyof T]]: Extract | Extract | (Exclude extends never ? never : undefined); } | IfCouldBe; export declare function pickBy, O>(object: I, predicate: KeyNarrowingIteratee): { [K in { [KK in keyof T]: IfCouldBe, O, KK>; }[keyof T]]: T[K] | (Cast extends O ? never : undefined); } | IfCouldBe; export declare function pickBy(object: T, predicate: ObjectIteratee): Partial>;