import { BaseResolver, ResolveError, Source } from '@redocly/openapi-core';
import type { YamlParseError, Document } from '@redocly/openapi-core';
import type { Fs } from '../fs';
export declare class ExternalResolver extends BaseResolver {
    private fs;
    constructor(fs: Fs);
    resolveDocument<T = unknown>(base: string | null, ref: string, isRoot?: boolean): Promise<Document<T> | ResolveError | YamlParseError>;
    loadExternalRef(absoluteRef: string): Promise<Source>;
}
//# sourceMappingURL=external-ref-resolver.d.ts.map