/* eslint-disable @typescript-eslint/no-explicit-any */ // No type definitions available for this library // eslint-disable-next-line @typescript-eslint/ban-ts-comment //@ts-ignore import jsonld from '@digitalcredentials/jsonld' 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 } export type DocumentLoader = (url: string) => Promise export default jsonld as unknown as JsonLd