UNPKG

@eclipse-emfcloud/modelserver-theia

Version:
24 lines 1.3 kB
/******************************************************************************** * Copyright (c) 2022 STMicroelectronics and others. * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License v. 2.0 which is available at * https://www.eclipse.org/legal/epl-2.0, or the MIT License which is * available at https://opensource.org/licenses/MIT. * * SPDX-License-Identifier: EPL-2.0 OR MIT *******************************************************************************/ import { ModelServerClient, SubscriptionOptions } from '@eclipse-emfcloud/modelserver-client'; import URI from 'urijs'; import { ModelServerFrontendClient, TheiaModelServerClient } from '../common'; import { LaunchOptions } from './launch-options'; export declare class TheiaBackendModelServerClient extends ModelServerClient implements TheiaModelServerClient { protected readonly launchOptions: LaunchOptions; constructor(launchOptions?: LaunchOptions); protected getBaseUrl(): URI; protected subscriptionClient?: ModelServerFrontendClient; setClient(client: ModelServerFrontendClient | undefined): void; subscribe(modeluri: URI, options?: SubscriptionOptions): void; dispose(): void; } //# sourceMappingURL=theia-model-server-client.d.ts.map