UNPKG

@credo-ts/core

Version:

<p align="center"> <br /> <img alt="Credo Logo" src="https://github.com/openwallet-foundation/credo-ts/blob/c7886cb8377ceb8ee4efe8d264211e561a75072d/images/credo-logo.png" height="250px" /> </p> <h1 align="center"><b>Credo - Core</b></h1

29 lines (28 loc) • 1.19 kB
import { JsonLd } from "./jsonld.mjs"; import { jsonld_signatures_d_exports } from "./jsonld-signatures.mjs"; import { VC, W3cVerifyCredentialResult, W3cVerifyPresentationResult } from "./vc.mjs"; //#region src/modules/vc/data-integrity/libraries/index.d.ts declare const vcLibraries: { jsonldSignatures: typeof jsonld_signatures_d_exports; jsonld: { compact(document: any, context: any, options?: any): any; fromRDF(document: any): any; frame(document: any, revealDocument: any, options?: any): any; canonize(document: any, options?: any): any; expand(document: any, options?: any): any; getValues(document: any, key: string): any; addValue(document: any, key: string, value: any): void; default: JsonLd; }; 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>; default: VC; }; }; //#endregion export { vcLibraries }; //# sourceMappingURL=index.d.mts.map