import type $RefParser from "./index.js"; import type { ParserOptions } from "./index.js"; import type { JSONSchema } from "./index.js"; export interface InventoryEntry { $ref: any; parent: any; key: any; pathFromRoot: any; depth: any; file: any; hash: any; value: any; circular: any; extended: any; external: any; nestedResource: boolean; indirections: any; scopeBase: string; dynamicIdScope: boolean; nestedIdScope: boolean; targetResourceBase: string; targetResourceId?: string; rootReference?: string; embeddedTargetPath?: string; targetOrigin?: TargetOrigin; preserveReference?: boolean; } interface TargetOrigin { entry: InventoryEntry; path: string; parent: TargetOrigin | undefined; } /** * Bundles all external JSON references into the main JSON schema, thus resulting in a schema that * only has *internal* references, not any *external* references. * This method mutates the JSON schema object, adding new references and re-mapping existing ones. * * @param parser * @param options */ declare function bundle = ParserOptions>(parser: $RefParser, options: O): void; export default bundle;