/**
 * @license
 * Copyright 2022-2026 Matter.js Authors
 * SPDX-License-Identifier: Apache-2.0
 */
import { Environmental } from "@matter/general";
class ActiveDiscoveries extends Set {
  #env;
  constructor(env) {
    super();
    this.#env = env;
  }
  static [Environmental.create](env) {
    const instance = new ActiveDiscoveries(env);
    env.set(ActiveDiscoveries, instance);
    return instance;
  }
  async close() {
    this.#env.delete(ActiveDiscoveries, this);
  }
}
export {
  ActiveDiscoveries
};
//# sourceMappingURL=ActiveDiscoveries.js.map
