import FabricCAServices from "fabric-ca-client"; import { ICCP } from "@gala-games/chain-api"; import { Identity } from "fabric-network/lib/impl/wallet/identity"; import { Wallet } from "fabric-network"; /** * * @param {*} ccp */ declare const buildCAClient: (ccp: ICCP, caHostName: string) => FabricCAServices; declare const enrollUser: (caClient: FabricCAServices, wallet: Wallet, orgMspId: string, userId: string, userPass: string) => Promise; declare const enrollAdmin: (caClient: FabricCAServices, wallet: Wallet, orgMspId: string) => Promise; declare const enrollOrRegisterUser: (caClient: FabricCAServices, wallet: Wallet, orgMspId: string, userId: string, affiliation: string) => Promise; declare const enrolledAdmin: (caClient: FabricCAServices, wallet: Wallet, mspId: string) => Promise; export { enrolledAdmin, buildCAClient, enrollAdmin, enrollOrRegisterUser, enrollUser };