/** * @license * Copyright 2022-2026 Matter.js Authors * SPDX-License-Identifier: Apache-2.0 */ import type { Crypto } from "@matter/general"; import { Branded, Bytes } from "@matter/general"; import type { FabricId } from "./FabricId.js"; /** * An ID that identifies a fabric globally. * * This ID is computed by hashing the {@link FabricId} with the fabric CA's public key. The spec calls it a "compressed * fabric ID" to differentiate from the full "uncompressed" CA key + fabric ID. * * @see {@link MatterSpecification.v14.Core} ยง 4.3.2.2 */ export type GlobalFabricId = Branded; export declare function GlobalFabricId(value: Parameters[0] | Bytes): GlobalFabricId; export declare namespace GlobalFabricId { function strOf(id: GlobalFabricId): string; function compute(crypto: Crypto, id: FabricId, caKey: Bytes): Promise; } //# sourceMappingURL=GlobalFabricId.d.ts.map