//#region src/schema/bundle.d.ts export interface BundleOptions { /** * Transform each document before bundling embeds it: the input document itself, and every referenced external document. */ transform?: (document: unknown) => unknown; } /** * Resolve all external `$ref`s (file paths & URLs) in the document, and embed them into the `x-ext` section of document. * * The output document contains only in-document `$ref`s (e.g. `#/x-ext/.../schema`). * * Powered by `@scalar/json-magic`. */ export declare function bundle(input: S | string, { transform }?: BundleOptions): Promise; //#endregion