import { OpenBadgesModuleConfig } from "../OpenBadgesModuleConfig.mjs"; import { OpenBadgeCredentialRecord } from "../repository/OpenBadgeCredentialRecord.mjs"; import { OpenBadgeCredentialRepository } from "../repository/OpenBadgeCredentialRepository.mjs"; import { EndorsementCredentialInput } from "../models/EndorsementCredential.mjs"; import { ClrCredentialInput } from "../models/ClrCredential.mjs"; import { KeyService } from "./KeyService.mjs"; import { ProofService } from "./ProofService.mjs"; import { AgentContext } from "@credo-ts/core"; //#region src/services/IssuerService.d.ts declare class IssuerService { private readonly repository; private readonly proofs; private readonly keys; private readonly config; constructor(repository: OpenBadgeCredentialRepository, proofs: ProofService, keys: KeyService, config: OpenBadgesModuleConfig); issueCredential(agentContext: AgentContext, input: any): Promise; /** * Issues an EndorsementCredential - a third-party validation credential * * EndorsementCredentials allow external organizations or individuals to * endorse achievements, profiles, or other credentials. * * @param agentContext - The agent context * @param input - The endorsement credential input * @returns The saved credential record */ issueEndorsement(agentContext: AgentContext, input: EndorsementCredentialInput): Promise; /** * Issues a ClrCredential - a Comprehensive Learner Record bundling multiple credentials * * CLR credentials allow bundling multiple OpenBadgeCredentials into a single * verifiable credential representing a learner's complete achievement record. * * @param agentContext - The agent context * @param input - The CLR credential input * @returns The saved credential record */ issueClr(agentContext: AgentContext, input: ClrCredentialInput): Promise; } //#endregion export { IssuerService }; //# sourceMappingURL=IssuerService.d.mts.map