UNPKG

rdf-test-suite

Version:
11 lines (10 loc) 393 B
import { IDocumentLoader, IJsonLdContext } from "jsonld-context-parser"; import { IFetchOptions } from "./Util"; /** * A JSON-LD context document loader that is based on {@link Util#fetchCached}. */ export declare class DocumentLoaderCached implements IDocumentLoader { private readonly options; constructor(options: IFetchOptions); load(url: string): Promise<IJsonLdContext>; }