import { ResponseError, CancellationToken } from 'vscode-languageserver'; import { RuntimeEnvironment } from '../htmlServer'; export declare function formatError(message: string, err: any): string; export declare function runSafe(runtime: RuntimeEnvironment, func: () => Thenable, errorVal: T, errorMessage: string, token: CancellationToken): Thenable>;