import { W3cJsonLdVerifiableCredential } from "./models/W3cJsonLdVerifiableCredential.js";
import { W3cVerifyCredentialResult, W3cVerifyPresentationResult } from "../models/W3cVerifyResult.js";
import { W3cJsonLdSignCredentialOptions, W3cJsonLdSignPresentationOptions, W3cJsonLdVerifyCredentialOptions, W3cJsonLdVerifyPresentationOptions } from "../W3cCredentialServiceOptions.js";
import { W3cJsonLdVerifiablePresentation } from "./models/W3cJsonLdVerifiablePresentation.js";
import { SignatureSuiteRegistry } from "./SignatureSuiteRegistry.js";
import { W3cCredentialsModuleConfig } from "../W3cCredentialsModuleConfig.js";
import { AgentContext } from "../../../agent/context/AgentContext.js";

//#region src/modules/vc/data-integrity/W3cJsonLdCredentialService.d.ts

/**
 * Supports signing and verification of credentials according to the [Verifiable Credential Data Model](https://www.w3.org/TR/vc-data-model)
 * using [Data Integrity Proof](https://www.w3.org/TR/vc-data-model/#data-integrity-proofs).
 */
declare class W3cJsonLdCredentialService {
  private signatureSuiteRegistry;
  private w3cCredentialsModuleConfig;
  constructor(signatureSuiteRegistry: SignatureSuiteRegistry, w3cCredentialsModuleConfig: W3cCredentialsModuleConfig);
  /**
   * Signs a credential
   */
  signCredential(agentContext: AgentContext, options: W3cJsonLdSignCredentialOptions): Promise<W3cJsonLdVerifiableCredential>;
  /**
   * Verifies the signature(s) of a credential
   *
   * @param credential the credential to be verified
   * @returns the verification result
   */
  verifyCredential(agentContext: AgentContext, options: W3cJsonLdVerifyCredentialOptions): Promise<W3cVerifyCredentialResult>;
  /**
   * Signs a presentation including the credentials it includes
   *
   * @param presentation the presentation to be signed
   * @returns the signed presentation
   */
  signPresentation(agentContext: AgentContext, options: W3cJsonLdSignPresentationOptions): Promise<W3cJsonLdVerifiablePresentation>;
  /**
   * Verifies a presentation including the credentials it includes
   *
   * @param presentation the presentation to be verified
   * @returns the verification result
   */
  verifyPresentation(agentContext: AgentContext, options: W3cJsonLdVerifyPresentationOptions): Promise<W3cVerifyPresentationResult>;
  getVerificationMethodTypesByProofType(proofType: string): string[];
  getExpandedTypesForCredential(agentContext: AgentContext, credential: W3cJsonLdVerifiableCredential): Promise<string[]>;
  private getPublicJwkFromVerificationMethod;
  private getSignatureSuitesForCredential;
}
//#endregion
export { W3cJsonLdCredentialService };
//# sourceMappingURL=W3cJsonLdCredentialService.d.ts.map