import { ObjVoid } from '../typings/types'; interface EachObj { >(fn: ObjVoid, obj: O): void; (fn: ObjVoid): (obj: Record) => void; } /** * Iterate over an input `object`, calling a provided function `fn` for each * key and value in the object. * * @param {Function} fn The function to invoke. Receives three argument, `value`, `key`, `obj`. * @param {Object} obj The object to iterate over. * @return {Object} The original object. * @example * * var printKeyConcatValue = (value, key) => console.log(key + ':' + value); * each(printKeyConcatValue, {x: 1, y: 2}); //=> {x: 1, y: 2} * // logs x:1 * // logs y:2 */ declare const _default: EachObj; export default _default;