import { Document } from "../../types.js"; import { NoReferenceSwallow } from "@fumadocs/api-docs/schema"; //#region src/utils/document/dereference.d.ts interface DereferencedDocument { /** * document wrapped in a magic proxy (`@scalar/json-magic`). * * Reference Objects remain in the document — resolve them lazily with {@link resolve}. */ dereferenced: Document; /** * Shallowly resolve a Reference Object from the document, merging sibling keywords. * * Non-reference values are returned as-is. */ resolve: (node: T) => NoReferenceSwallow; bundled: Document; } //#endregion export { DereferencedDocument };