import { BlankNode, Dataset, NamedNode } from "@rdfjs/types"; import { ContextUtil } from "./ContextUtil"; import { ArrayProxyTarget, QuadMatch } from "./createArrayHandler"; import { ObjectWithId } from "./createSubjectHandler"; /** * This file keeps track of the target objects used in the proxies. * The reason is so that JSON.stringify does not recurse inifinitely * when it encounters a circular object. */ export declare class ProxyCreator { private subjectMap; private arrayMap; createSubjectProxy(node: NamedNode | BlankNode, dataset: Dataset, contextUtil: ContextUtil): ObjectWithId; private getArrayKey; createArrayProxy(quadMatch: QuadMatch, dataset: Dataset, contextUtil: ContextUtil): ArrayProxyTarget; }