/// /** * Utility function which will iterate through the given array and call the callback within the given scope. * Elements of the given array will provided to the callback in sequence. * * This method is used instead of {@see Array#forEach} since there are array-like structures which do not have * this method and calling the function through the prototype relies on implementation details. * * @param {Array} array array of values to iterate over * @param {Function} callback callback to call on each element * @param {object} scope scope to call the callback in, can be undefined. */ declare function forEach(array: ArrayLikeShim, callback: (value: T, index: number) => any, scope?: any): void; export = forEach;