/** * Read-only scan for `$ref` nodes only (not cycles). Used to verify a * caller's `kind="resolved"` promise: leftover refs mean their upstream * resolution isn't doing what they think, while object cycles are a normal * property of parser output and no broken promise. Terminates on cyclic * input via the visited set. */ export declare const containsRefs: (value: unknown, visited?: Set) => boolean; export declare function resolveDocument(doc: T): T;