import { Connection } from "vscode-languageserver"; export interface LoadingHandler { handle(message: string, value: Promise): Promise; handleSync(message: string, value: () => T): T; showError(message: string): void; } export declare class LanguageServerLoadingHandler implements LoadingHandler { private connection; constructor(connection: Connection); private latestLoadingToken; handle(message: string, value: Promise): Promise; handleSync(message: string, value: () => T): T; showError(message: string): void; } //# sourceMappingURL=loadingHandler.d.ts.map