import * as URI from 'urijs'; import * as Types from './types'; export declare class Resolver { readonly uriCache: Types.ICache; protected dereferenceInline: boolean; protected dereferenceRemote: boolean; protected ctx: any; protected resolvers: { [scheme: string]: Types.IResolver; }; protected getRef?: (key: string, val: any) => string | void; protected transformRef?: (opts: Types.IRefTransformer, ctx: any) => URI | any; protected parseResolveResult?: (opts: Types.IUriParser) => Promise; protected transformDereferenceResult?: (opts: Types.IDereferenceTransformer) => Promise; constructor(opts?: Types.IResolverOpts); resolve(source: any, opts?: Types.IResolveOpts): Promise; }