declare const checkFunc: (cb: any, func: any) => Promise;