/** * @license * Copyright 2022-2026 Matter.js Authors * SPDX-License-Identifier: Apache-2.0 */ import type { ValueModel } from "#models/ValueModel.js"; import type { Scope } from "./Scope.js"; /** * A bitmap as an object: `true` for a set flag, the value of a multi-bit member, as a bigint where a number cannot * hold it exactly. */ export type DecodedBitmap = Record; /** * Decode a bitmap value into an object. * * Pass the {@link scope} of the cluster the bitmap belongs to where its datatype may come from a base cluster. */ export declare function DecodedBitmap(model: ValueModel, value: number | bigint | DecodedBitmap, scope?: Scope, options?: DecodedBitmap.Options): DecodedBitmap; export declare namespace DecodedBitmap { interface Options extends Scope.MemberOptions { /** * Include clear members, as `false` or 0, so the object names every member. */ complete?: boolean; } } //# sourceMappingURL=DecodedBitmap.d.ts.map