"use strict";
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
const descriptors = require("./descriptors.js");
const _registry = [];
function registerSingleton(id, ctorOrDescriptor, supportsDelayedInstantiation) {
  if (!(ctorOrDescriptor instanceof descriptors.SyncDescriptor)) {
    ctorOrDescriptor = new descriptors.SyncDescriptor(ctorOrDescriptor, [], supportsDelayedInstantiation);
  }
  _registry.push([id, ctorOrDescriptor]);
}
function getSingletonServiceDescriptors() {
  return _registry;
}
exports.getSingletonServiceDescriptors = getSingletonServiceDescriptors;
exports.registerSingleton = registerSingleton;
