import { CancellationTokenSource } from "../../../base/common/cancellation.mjs";
import { Emitter } from "../../../base/common/event.mjs";
import { KeyChord } from "../../../base/common/keyCodes.mjs";
import { URI } from "../../../base/common/uri.mjs";
import { Position } from "../core/position.mjs";
import { Range } from "../core/range.mjs";
import { Selection } from "../core/selection.mjs";
import { Token } from "../languages.mjs";
import { KeyCode, SelectionDirection, MarkerSeverity, MarkerTag } from "../standalone/standaloneEnums.mjs";
class KeyMod {
  static chord(firstPart, secondPart) {
    return KeyChord(firstPart, secondPart);
  }
}
KeyMod.CtrlCmd = 2048;
KeyMod.Shift = 1024;
KeyMod.Alt = 512;
KeyMod.WinCtrl = 256;
function createMonacoBaseAPI() {
  return {
    editor: void 0,
    languages: void 0,
    CancellationTokenSource,
    Emitter,
    KeyCode,
    KeyMod,
    Position,
    Range,
    Selection,
    SelectionDirection,
    MarkerSeverity,
    MarkerTag,
    Uri: URI,
    Token
  };
}
export {
  KeyMod,
  createMonacoBaseAPI
};
