/** * @license * Copyright 2022-2026 Matter.js Authors * SPDX-License-Identifier: Apache-2.0 */ import { Read } from "#action/request/Read.js"; import { ClusterId, EndpointNumber } from "@matter/types"; /** * This utility tells you whether a given endpoint/cluster is in scope for a read. */ export interface ReadScope { /** * Is a cluster included in the read? * * This is useful to determine if the read should include a version filter. */ isRelevant(endpoint: EndpointNumber, cluster: ClusterId): boolean; /** * Are all attributes in a cluster included in a read? * * This is useful to determine if the cluster's version should be updated in response to a read. */ isWildcard(endpoint: EndpointNumber, cluster: ClusterId): boolean; /** * Was the read returned data filtered by fabric? */ isFabricFiltered: boolean; } export declare function ReadScope(read: Read): ReadScope; //# sourceMappingURL=ReadScope.d.ts.map