import { URI } from '../util/uri'; import { ContentIndex, ReferenceInfo } from './types'; export interface JSONReferenceInfo { baseURI: URI; metadata: Metadata; } export interface JSONReferenceContentIndexConfiguration { shouldIndexObject: (reference: { $ref: string; }) => boolean; } export declare class JSONReferenceContentIndex implements ContentIndex { private shouldIndexObject; constructor(configuration: JSONReferenceContentIndexConfiguration); isObjectIndexed(object: object): boolean; isURIIndexed(uri: string): boolean; indexedObjectWithURI(uri: URI): any; infoForIndexedObject(value: any): any; addContentFromRoot(root: any, baseURI: URI, rootMetadata: Metadata): Map>; }