/** * Copyright (c) 2020 TypeFox GmbH. All rights reserved. * Licensed under the GNU Affero General Public License (AGPL). * See License-AGPL.txt in the project root for license information. */ import { LogContext } from './logging'; export declare class SafePromise { static catchAndLog(p: Promise, logCtx?: LogContext): Promise; static catch(p: Promise, handler: (err: any) => void): Promise; } //# sourceMappingURL=safe-promise.d.ts.map