/** * Determines whether an object has a property with the specified name. * * @param {Object} object * @param {string} key * @returns {boolean} True or false */ export declare const isValidKey: (object: Object, key: string) => boolean; /** * Iterates over elements of `objects`, returning a objects of all elements * `predicate` returns truthy for. * * @param {Object.} objects The Objecs *with key-value pairs* to iterate over. * @param {Function} predicate The function invoked per iteration. * @returns {Object.} Returns the new filtered objects *with key-value pairs*. * * @example * * const users = { * 'barney': { 'name': 'barney', 'active': true }, * 'fred': { 'name': 'fred', 'active': false } * } * * filterObjects(users, ({ active }) => active) * // => { * // 'barney' : { 'name': 'barney', 'active': true }, * // } */ export declare const filterObjects: (objects: { [key: string]: any; }, predicate: Function) => { [key: string]: any; }; export declare const filterObjectsRegExp: (objects: any, criteria: any) => {}; //# sourceMappingURL=helpers.d.ts.map