import { IGraphNodeData, IUriParser } from '@stoplight/json-ref-resolver/types'; import { Dictionary, JsonPath } from '@stoplight/types'; import { DepGraph } from 'dependency-graph'; import { Document, IDocument } from './document'; import { IResolver, IRuleResult } from './types'; export declare type DocumentInventoryItem = { document: IDocument; path: JsonPath; missingPropertyPath: JsonPath; }; export declare class DocumentInventory { readonly document: IDocument; protected resolver: IResolver; private static readonly _cachedRemoteDocuments; graph: DepGraph; resolved: unknown; errors: IRuleResult[]; diagnostics: IRuleResult[]; readonly referencedDocuments: Dictionary; get source(): string | null; get unresolved(): unknown; get formats(): string[] | null | undefined; constructor(document: IDocument, resolver: IResolver); resolve(): Promise; findAssociatedItemForPath(path: JsonPath, resolved: boolean): DocumentInventoryItem | null; protected parseResolveResult: (resolveOpts: IUriParser) => Promise; }