/**
 * @license
 * Copyright 2022-2026 Matter.js Authors
 * SPDX-License-Identifier: Apache-2.0
 */
import { IllegalFeatureCombinations } from "./cluster-variance/IllegalFeatureCombinations.js";
import { InferredComponents } from "./cluster-variance/InferredComponents.js";
import { NamedComponents } from "./cluster-variance/NamedComponents.js";
function ClusterVariance(cluster) {
  const inferredComponents = InferredComponents(cluster);
  const { base, components } = NamedComponents(cluster, inferredComponents);
  const { illegal, requiresFeatures } = IllegalFeatureCombinations(cluster);
  return {
    cluster,
    base,
    components,
    illegal,
    requiresFeatures
  };
}
export {
  ClusterVariance
};
//# sourceMappingURL=ClusterVariance.js.map
