declare function loop(list: any[], callback: (data: any) => Promise, result?: any[]): Promise; export default loop;