//#region src/core/limits.d.ts /** * Shared depth caps and hop counts used to bound recursion across * schema-components. All numeric limits live here so the renderer, the * ref resolver, the OpenAPI parser, and the type-level inference engine * agree on the same constants. */ /** * Maximum recursion depth for the schema walker, the React renderers, * the streaming HTML renderer, and the server-side renderer. Beyond * this depth a recursion sentinel is emitted instead of further descent * — the only safe response to a cyclic walked-field graph. */ declare const MAX_RENDER_DEPTH = 10; /** * Maximum depth for `$ref` resolution and Zod-tree walks. Mirrors the * type-level `DEFAULT_MAX_DEPTH` ({@link MaxRefDepth}) so the runtime * and compile-time bounds agree. */ type MaxRefDepth = 64; /** Runtime constant matching the type-level {@link MaxRefDepth} bound. */ declare const MAX_REF_DEPTH: MaxRefDepth; /** * Maximum number of `$ref` hops permitted when walking a chain of * OpenAPI Path Item Object references. Beyond this a * `path-item-ref-too-deep` diagnostic is emitted and resolution stops. * * Also the default `maxHops` for the generic `resolveRefChain` helper * in `core/refChain.ts`, so every ref-chain walker — Path Item refs, * Parameter / Response refs, Reference Object chains, etc. — shares * the same hop cap. */ declare const MAX_PATH_ITEM_REF_HOPS = 8; //#endregion export { MaxRefDepth as i, MAX_REF_DEPTH as n, MAX_RENDER_DEPTH as r, MAX_PATH_ITEM_REF_HOPS as t };