import { JsonObject } from "../../../../types.js";

//#region src/modules/vc/data-integrity/libraries/vc.d.ts
interface VC {
  issue(options: any): Promise<Record<string, unknown>>;
  verifyCredential(options: any): Promise<W3cVerifyCredentialResult>;
  createPresentation(options: any): Promise<Record<string, unknown>>;
  signPresentation(options: any): Promise<Record<string, unknown>>;
  verify(options: any): Promise<W3cVerifyPresentationResult>;
}
interface W3cVerificationResult {
  isValid: boolean;
  error?: Error;
  verificationMethod?: JsonObject;
  proof?: JsonObject;
  purposeResult?: JsonObject;
}
interface W3cVerifyCredentialResult {
  verified: boolean;
  error?: Error;
  results: W3cVerificationResult[];
}
interface W3cVerifyPresentationResult {
  verified: boolean;
  error?: Error;
  presentationResult: W3cVerificationResult;
  credentialResults: W3cVerifyCredentialResult[];
}
//#endregion
export { VC, W3cVerifyCredentialResult, W3cVerifyPresentationResult };
//# sourceMappingURL=vc.d.ts.map