import { ArrayIteratee, ObjectIteratee } from '../interfaces'; /** * Iterates over elements of `collection` and invokes `iteratee` for each element. Iteratee functions may exit iteration early by explicitly returning `false`. * * Contribution to minified bundle size, when it is the only function imported: * - Lodash: 3,798 bytes * - Micro-dash: 221 bytes */ export declare function forEach(array: T[] | undefined, iteratee: ArrayIteratee): T[]; export declare function forEach(object: T, iteratee: ObjectIteratee): T; /** @hidden */ export declare function forEachOfArray(array: T[], iteratee: ArrayIteratee): void;