import { ESPRMFabric } from "../../ESPRMFabric"; declare module "@espressif/rainmaker-base-sdk/ESPRMGroup" { interface ESPRMGroup { /** * Converts an existing RainMaker group into a Matter fabric. * * @returns A fully populated {@link ESPRMFabric} instance * @throws ESPRMMatterFabricError if the group is already a Matter fabric * * @example * const { groups } = await user.getGroups(); * const group = groups.find((entry) => entry.id === "1234567890"); * const fabric = await group?.convertToFabric(); */ convertToFabric(): Promise; } }