import type { JsonPath } from '@stoplight/types'; declare type Document = Record | unknown[]; export declare function resolveExternalRef(inventory: Record>, origin: string, ref: string): Promise; export declare function resolveExternalRefWithLocation(inventory: Record>, origin: string, ref: string): Promise<{ source: string; location: JsonPath; value: unknown; }>; export {};