/** * @license * Copyright 2022-2026 Matter.js Authors * SPDX-License-Identifier: Apache-2.0 */ import { ClusterModel } from "../models/index.js"; import { IllegalFeatureCombinations } from "./cluster-variance/IllegalFeatureCombinations.js"; import { InferredComponent } from "./cluster-variance/InferredComponents.js"; import { NamedComponents } from "./cluster-variance/NamedComponents.js"; /** * Defines different variants of clusters. */ export type ClusterVariance = { /** * The cluster. */ cluster: ClusterModel; /** * The base component. */ base: InferredComponent; /** * Optional components. */ components: NamedComponents; /** * Illegal feature combinations as bit flags. */ illegal: IllegalFeatureCombinations; /** * If this is false, the cluster cannot be used without features. */ requiresFeatures: boolean; }; /** * Analyzes a cluster to determine components, component names and feature flag -> component mapping. */ export declare function ClusterVariance(cluster: ClusterModel): ClusterVariance; //# sourceMappingURL=ClusterVariance.d.ts.map