export declare function runAsync(func: (...args: any[]) => void | Promise, ctx?: any): (...args: any[]) => Promise;