import { ESPRMIssueUserNoCResponse } from "../../types/io/output"; /** * Augments the ESPRMFabric class with the `issueUserNoC` method to issue user certificates. * This module extension adds the ability to issue Node Operational Certificates (NoCs) for users * within Matter fabrics, enabling user authentication and access control. */ declare module "../../ESPRMFabric" { interface ESPRMFabric { /** * Issues a Node Operational Certificate (NoC) for a user for this Matter fabric. * This method uses a Certificate Signing Request (CSR) from the user's Matter controller * to generate a user certificate for authentication and access control within the Matter fabric. * The certificate is required for user authentication and access control within the Matter fabric. * * @returns A promise that resolves to the user NoC response with certificate details * @throws Error if CSR is not provided or empty * @throws ESPRMError if the NoC issuance fails */ issueUserNoC(): Promise; } }