declare function forEach, THIS_TYPE = undefined>( array: A, callback: (this: THIS_TYPE, value: A extends ArrayLike ? T : any, index: number, array: A) => void, thisArg?: THIS_TYPE, ): void; declare function forEach( obj: O, callback: (this: THIS_TYPE, value: O[keyof O], key: string, obj: O) => void, thisArg?: THIS_TYPE, ): void; export = forEach;