/**
 * @license
 * Copyright 2022-2025 Matter.js Authors
 * SPDX-License-Identifier: Apache-2.0
 */
import { MatterDefinition } from "../MatterDefinition.js";
import { DatatypeElement as Datatype } from "../../elements/index.js";
const fabricIdx = Datatype({
  name: "fabric-idx",
  type: "uint8",
  description: "Fabric Index",
  isSeed: true,
  details: "This is an index that maps to a particular fabric on the node, see Fabric-Index. It is used for:\n  \u2022 the accessing fabric index of an interaction\n  \u2022 the FabricIndex global field in fabric-scoped data",
  xref: { document: "core", section: "7.18.2.20" }
});
MatterDefinition.children.push(fabricIdx);
export {
  fabricIdx
};
//# sourceMappingURL=fabric-idx.js.map
