export declare function run(fn: (...args: any[]) => Promise): Promise; export declare function handleError(err: Error): void;