declare type AsyncTask = (...args: any[]) => Promise; export default AsyncTask;