///
import { MessageConnection } from 'vscode-jsonrpc';
import { EventEmitter } from 'events';
import { Protocol } from 'raas-core';
export declare class Installation {
private connection;
private emitter;
constructor(connection: MessageConnection, emitter: EventEmitter);
private listenToInstallationChanges;
addInstalledServer(request: Protocol.Installation, timeout?: number): Promise;
installServer(request: Protocol.InstallServerRequest, timeout?: number): Promise;
cancelInstallation(installing: Protocol.InstallingServer, timeout?: number): Promise;
deleteInstallation(installation: Protocol.Installation, timeout?: number): Promise;
updateInstallation(installation: Protocol.Installation, timeout?: number): Promise;
getAllInstalledServers(timeout?: number): Promise;
getAllInstallingServers(timeout?: number): Promise;
private send;
}