import { ESPRMGroup } from "@espressif/rainmaker-base-sdk"; import { ESPRMFabricDetails, ESPRMFabricInterface } from "./types/fabric"; /** * Represents a Fabric that extends the base ESPRMGroup with Fabric-specific capabilities. * This class provides the complete structure for Fabric-enabled device groups, including * fabric-specific details, node management, and Fabric protocol integration. * * A Fabric is a secure network of Fabric devices that can communicate with each other * using the Matter protocol. This class encapsulates all the necessary information and * functionality for managing Fabric devices within a fabric. * * @class ESPRMFabric * @extends ESPRMGroup * @implements ESPRMFabricInterface * */ export declare class ESPRMFabric extends ESPRMGroup implements ESPRMFabricInterface { /** * Optional detailed configuration and security information for the Fabric. * Contains cryptographic materials, access control identifiers, and fabric-specific * configuration required for Fabric device communication and management. * * This includes: * - Root Certificate Authority (CA) certificate * - Group Category IDs for administrative and operational access * - Fabric user ID and user category ID * - Identity Protection Key (IPK) for secure communication */ fabricDetails?: ESPRMFabricDetails; /** * Creates a new ESPRMFabric instance. * Initializes the Matter fabric with the provided configuration data, extending * the base ESPRMGroup functionality with Matter-specific properties and capabilities. * * @param config - The Matter fabric configuration data * @param config.id - The unique identifier for this group/fabric * @param config.name - The name of this group/fabric * @param config.description - Optional description of this fabric * @param config.type - Optional type classification of this group/fabric * @param config.isMatter - Boolean indicating if this group is Matter-enabled (should be true for fabrics) * @param config.fabricId - Optional fabric ID for Matter-specific identification * @param config.isPrimaryUser - Boolean indicating if the current user is the primary user of this fabric * @param config.parentGroupId - Optional parent group ID if this is a subgroup * @param config.mutuallyExclusive - Boolean indicating if this group is mutually exclusive * @param config.nodes - Optional array of Rainmaker node IDs in this group * @param config.nodeDetails - Optional array of detailed node information * @param config.totalNodes - Total number of nodes in this fabric * @param config.subGroups - Optional array of subgroups within this fabric * @param config.metadata - Optional metadata associated with this fabric * @param config.customData - Optional custom data associated with this fabric * @param config.fabricDetails - Optional detailed configuration and security information for the Matter fabric */ constructor(config: ESPRMFabricInterface); }