/** * @license * Copyright 2022-2026 Matter.js Authors * SPDX-License-Identifier: Apache-2.0 */ import { ClusterModel } from "../../models/ClusterModel.js"; import { FeatureBitmap } from "./FeatureBitmap.js"; /** * Assess a cluster's supported features against the combinations its FeatureMap conformance disallows. * * Feature selection is the application's, so these constraints are only knowable once a selection is made. We report * against {@link IllegalFeatureCombinations} so this assessment cannot diverge from the one codegen uses to decide * whether an application must select features itself. * * @param cluster the cluster whose {@link ClusterModel.supportedFeatures} to assess * @returns one message per violated combination, empty if the selection conforms */ export declare function FeatureSelectionErrors(cluster: ClusterModel): string[]; /** * The combinations a cluster forbids that {@link selection} violates. * * Both the runtime assessment and the decision codegen makes about whether an application must select features itself * resolve through here, so the two cannot diverge. * * @returns the violated combinations, or undefined when the cluster's conformance is outside our ruleset and the * selection is therefore unassessed rather than judged */ export declare function FeatureSelectionViolations(cluster: ClusterModel, selection: { has(name: string): boolean; }): FeatureBitmap[] | undefined; //# sourceMappingURL=FeatureSelectionErrors.d.ts.map