import { DepGraph } from 'dependency-graph'; import * as URI from 'urijs'; import * as Types from './types'; export declare const defaultGetRef: (key: string, val: any) => any; export declare class ResolveRunner implements Types.IResolveRunner { readonly id: number; readonly baseUri: URI; readonly uriCache: Types.ICache; readonly graph: Types.IResolveRunner['graph']; readonly root: string; depth: number; uriStack: string[]; readonly dereferenceInline: boolean; readonly dereferenceRemote: boolean; ctx: any; readonly resolvers: { [scheme: string]: Types.IResolver; }; readonly getRef: (key: string, val: any) => string | void; readonly transformRef?: (opts: Types.IRefTransformer, ctx: any) => URI | any; readonly parseResolveResult?: (opts: Types.IUriParser) => Promise; readonly transformDereferenceResult?: (opts: Types.IDereferenceTransformer) => Promise; private _source; constructor(source: any, graph?: DepGraph, opts?: Types.IResolveRunnerOpts); get source(): any; resolve(opts?: Types.IResolveOpts): Promise; computeRef: (opts: Types.IComputeRefOpts) => URI | void; atMaxUriDepth: () => boolean; lookupUri: (opts: { fragment: string; ref: URI; cacheKey: string; parentPath: string[]; }) => Promise; lookupAndResolveUri: (opts: Types.IRefHandlerOpts) => Promise; _cacheKeySerializer(sOpts: any): any; private computeUriCacheKey; private isFile; private _setGraphNodeData; private _setGraphNodeEdge; }