import { CredentialPayload, IAgentContext, IKey, IResolver, IVerifyResult, PresentationPayload, UsingResolutionOptions, VerifiableCredential, VerifiablePresentation } from '@veramo/core-types'; import { LdContextLoader } from './ld-context-loader.js'; import { LdSuiteLoader } from './ld-suite-loader.js'; import { RequiredAgentMethods } from './ld-suites.js'; type ForwardedOptions = UsingResolutionOptions & { fetchRemoteContexts?: boolean; now?: Date; }; 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: Veramo currently implements no link between those. */ private ldContextLoader; ldSuiteLoader: LdSuiteLoader; constructor(options: { ldContextLoader: LdContextLoader; ldSuiteLoader: LdSuiteLoader; }); getDocumentLoader(context: IAgentContext, options?: ForwardedOptions): any; issueLDVerifiableCredential(credential: CredentialPayload, issuerDid: string, key: IKey, verificationMethodId: string, options: ForwardedOptions, context: IAgentContext): Promise; signLDVerifiablePresentation(presentation: PresentationPayload, holderDid: string, key: IKey, verificationMethodId: string, challenge: string | undefined, domain: string | undefined, options: ForwardedOptions, context: IAgentContext): Promise; verifyCredential(credential: VerifiableCredential, options: ForwardedOptions, context: IAgentContext): Promise; verifyPresentation(presentation: VerifiablePresentation, challenge: string | undefined, domain: string | undefined, options: ForwardedOptions, context: IAgentContext): Promise; } export {}; //# sourceMappingURL=ld-credential-module.d.ts.map