blob: 87afbf9852b659d432e777071b844babb2272c72 [file] [log] [blame]
import 'cross-fetch/polyfill';
import { Schema } from './jsonSchema';
export default class ReferenceResolver {
private readonly schemaCache;
private readonly referenceCache;
dereference(refId: string): Schema;
getAllRegisteredSchema(): IterableIterator<Schema>;
resolve(): Promise<void>;
private searchParentSchema;
registerRemoteSchema(url: string): Promise<void>;
registerSchema(schema: Schema): void;
private addSchema;
private addReference;
clear(): void;
}