import { CredentialPayload, IAgentContext, IKey, IResolver, PresentationPayload, VerifiableCredential, VerifiablePresentation } from '@verixyz/core'; import { LdContextLoader } from './ld-context-loader'; import { LdSuiteLoader } from './ld-suite-loader'; import { RequiredAgentMethods } from './ld-suites'; export declare class LdCredentialModule { /** * TODO: General Implementation Notes * - (SOLVED) EcdsaSecp256k1Signature2019 (Signature) and EcdsaSecp256k1VerificationKey2019 (Key) * are not useable right now, since they are not able to work with blockChainId and ECRecover. * - DID Fragment Resolution. * - Key Manager and Verification Methods: verixyz currently implements no link between those. */ private ldContextLoader; ldSuiteLoader: LdSuiteLoader; constructor(options: { ldContextLoader: LdContextLoader; ldSuiteLoader: LdSuiteLoader; }); getDocumentLoader(context: IAgentContext, attemptToFetchContexts?: boolean): any; issueLDVerifiableCredential(credential: CredentialPayload, issuerDid: string, key: IKey, verificationMethodId: string, context: IAgentContext): Promise; signLDVerifiablePresentation(presentation: PresentationPayload, holderDid: string, key: IKey, verificationMethodId: string, challenge: string | undefined, domain: string | undefined, context: IAgentContext): Promise; verifyCredential(credential: VerifiableCredential, fetchRemoteContexts: boolean | undefined, context: IAgentContext): Promise; verifyPresentation(presentation: VerifiablePresentation, challenge: string | undefined, domain: string | undefined, fetchRemoteContexts: boolean | undefined, context: IAgentContext): Promise; } //# sourceMappingURL=ld-credential-module.d.ts.map