import * as vscode from 'vscode-languageserver';
import { LanguageServerInitializationOptions, LanguageServerPlugin, RuntimeEnvironment } from '../types';
export interface ServerContext {
    connection: vscode.Connection;
    runtimeEnv: RuntimeEnvironment;
    plugins: LanguageServerPlugin[];
}
export declare function startCommonLanguageServer(connection: vscode.Connection, getCtx: (initOptions: LanguageServerInitializationOptions) => ServerContext): void;
