text: /* --------------------------------------------------------------------------------------------
   * Copyright (c) Microsoft Corporation. All rights reserved.
   * Licensed under the MIT License. See License.txt in the project root for license information.
   * ------------------------------------------------------------------------------------------ */
  'use strict';
  function __export(m) {
      for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
  }
  Object.defineProperty(exports, "__esModule", { value: true });
  const vscode_jsonrpc_1 = require("vscode-jsonrpc");
  exports.ErrorCodes = vscode_jsonrpc_1.ErrorCodes;
  exports.ResponseError = vscode_jsonrpc_1.ResponseError;
  exports.CancellationToken = vscode_jsonrpc_1.CancellationToken;
  exports.CancellationTokenSource = vscode_jsonrpc_1.CancellationTokenSource;
  exports.Disposable = vscode_jsonrpc_1.Disposable;
  exports.Event = vscode_jsonrpc_1.Event;
  exports.Emitter = vscode_jsonrpc_1.Emitter;
  exports.Trace = vscode_jsonrpc_1.Trace;
  exports.TraceFormat = vscode_jsonrpc_1.TraceFormat;
  exports.SetTraceNotification = vscode_jsonrpc_1.SetTraceNotification;
  exports.LogTraceNotification = vscode_jsonrpc_1.LogTraceNotification;
  exports.RequestType = vscode_jsonrpc_1.RequestType;
  exports.RequestType0 = vscode_jsonrpc_1.RequestType0;
  exports.NotificationType = vscode_jsonrpc_1.NotificationType;
  exports.NotificationType0 = vscode_jsonrpc_1.NotificationType0;
  exports.MessageReader = vscode_jsonrpc_1.MessageReader;
  exports.MessageWriter = vscode_jsonrpc_1.MessageWriter;
  exports.ConnectionStrategy = vscode_jsonrpc_1.ConnectionStrategy;
  exports.StreamMessageReader = vscode_jsonrpc_1.StreamMessageReader;
  exports.StreamMessageWriter = vscode_jsonrpc_1.StreamMessageWriter;
  exports.IPCMessageReader = vscode_jsonrpc_1.IPCMessageReader;
  exports.IPCMessageWriter = vscode_jsonrpc_1.IPCMessageWriter;
  exports.createClientPipeTransport = vscode_jsonrpc_1.createClientPipeTransport;
  exports.createServerPipeTransport = vscode_jsonrpc_1.createServerPipeTransport;
  exports.generateRandomPipeName = vscode_jsonrpc_1.generateRandomPipeName;
  exports.createClientSocketTransport = vscode_jsonrpc_1.createClientSocketTransport;
  exports.createServerSocketTransport = vscode_jsonrpc_1.createServerSocketTransport;
  exports.ProgressType = vscode_jsonrpc_1.ProgressType;
  __export(require("vscode-languageserver-types"));
  __export(require("./protocol"));
  const callHierarchy = require("./protocol.callHierarchy.proposed");
  const progress = require("./protocol.progress.proposed");
  var Proposed;
  (function (Proposed) {
      let CallHierarchyRequest;
      (function (CallHierarchyRequest) {
          CallHierarchyRequest.type = callHierarchy.CallHierarchyRequest.type;
      })(CallHierarchyRequest = Proposed.CallHierarchyRequest || (Proposed.CallHierarchyRequest = {}));
      let CallHierarchyDirection;
      (function (CallHierarchyDirection) {
          CallHierarchyDirection.CallsFrom = callHierarchy.CallHierarchyDirection.CallsFrom;
          CallHierarchyDirection.CallsTo = callHierarchy.CallHierarchyDirection.CallsTo;
      })(CallHierarchyDirection = Proposed.CallHierarchyDirection || (Proposed.CallHierarchyDirection = {}));
      // export type ProgressServerCapabilities = progress.ProgressServerCapabilities;
      let WorkDoneProgress;
      (function (WorkDoneProgress) {
          WorkDoneProgress.type = progress.WorkDoneProgress.type;
      })(WorkDoneProgress = Proposed.WorkDoneProgress || (Proposed.WorkDoneProgress = {}));
      let WorkDoneProgressCreateRequest;
      (function (WorkDoneProgressCreateRequest) {
          WorkDoneProgressCreateRequest.type = progress.WorkDoneProgressCreateRequest.type;
      })(WorkDoneProgressCreateRequest = Proposed.WorkDoneProgressCreateRequest || (Proposed.WorkDoneProgressCreateRequest = {}));
      let WorkDoneProgressCancelNotification;
      (function (WorkDoneProgressCancelNotification) {
          WorkDoneProgressCancelNotification.type = progress.WorkDoneProgressCancelNotification.type;
      })(WorkDoneProgressCancelNotification = Proposed.WorkDoneProgressCancelNotification || (Proposed.WorkDoneProgressCancelNotification = {}));
  })(Proposed = exports.Proposed || (exports.Proposed = {}));
  function createProtocolConnection(reader, writer, logger, strategy) {
      return vscode_jsonrpc_1.createMessageConnection(reader, writer, logger, strategy);
  }
  exports.createProtocolConnection = createProtocolConnection;
  