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

22 lines • 840 B
declare namespace jsonld_d_exports { export { DocumentLoader, DocumentLoaderResult, JsonLd, _default as default }; } export interface 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; } export interface DocumentLoaderResult { contextUrl?: string | null; documentUrl: string; document: Record<string, unknown>; } export type DocumentLoader = (url: string) => Promise<DocumentLoaderResult>; declare const _default: JsonLd; //#endregion export { _default as default, jsonld_d_exports }; //# sourceMappingURL=jsonld.d.mts.map