declare function eachAsync( collection: Array, callbackfn: (value: T, index: number, array: Array) => void ): void; declare function eachAsync( collection: { [key: string]: T}, callbackfn: (value: T, index: string, object: { [key: string]: T}) => void ): void; declare function eachAsync( collection: { [key: number]: T}, callbackfn: (value: T, index: number, object: { [key: number]: T}) => void ): void; export default eachAsync;