import { ObjectLiteral } from "../typings"; /** Pick given properties in object */ export declare function pick(obj: T, paths: K[]): Pick; /** Creates an object composed of the picked object properties that satisfies the condition for each value */ export declare function pickBy(obj: T, paths: K[], fn: (key: keyof T, value: T[keyof T]) => boolean): Partial>; /** Only pick given properties that are defined in object */ export declare const pickDefined: (obj: T, paths: K[]) => Partial>; /** Omit given properties from object */ export declare function omit(object: T, keys: K[]): Omit; export type Formater = (value: Value, key: Key) => Return; /** Format object values using a given method */ export declare const format: , Method extends Function = Formater, From = ObjectLiteral>(obj: From, method?: Method) => Return; /** Remove undefined properties in object */ export declare const removeUndefineds: >(obj: Value) => {}; /** * Returns true if a value differs between a & b, only check for the first level (shallow) * @see https://github.com/preactjs/preact-compat/blob/7c5de00e7c85e2ffd011bf3af02899b63f699d3a/src/index.js#L349 */ export declare function hasShallowDiff(a: Record, b: Record): boolean; /** Returns keys that are both in a & b */ export declare function getCommonKeys(abc: ObjectLiteral, xyz: ObjectLiteral): string[]; /** Returns true if a value differs between a & b in their common properties */ export declare function hasShallowDiffInCommonKeys(abc: ObjectLiteral, xyz: ObjectLiteral): boolean; //# sourceMappingURL=pick.d.ts.map