/** * @license * Copyright 2022-2026 Matter.js Authors * SPDX-License-Identifier: Apache-2.0 */ import { Namespace, Semtag } from "@matter/types"; /** * A Matter "semantic namespace" is a discrete set of {@link Semtag} definitions. */ export type SemanticNamespace = Record; /** * Define a new semantic namespace. */ export declare function SemanticNamespace(definition: T): SemanticNamespace.Of; export declare namespace SemanticNamespace { interface Definition { id: Namespace; mfgCode?: number; tags: { [name: string]: { id: number; label: string; }; }; } type Of = { [name in keyof T["tags"]]: Semtag; }; } //# sourceMappingURL=SemanticNamespace.d.ts.map