/** * Builds the public configuration JSON Schema from the Zod source of truth. * Filters disabled presets out of every top-level configuration branch and * keeps the schema's $ref graph internally consistent. */ import { type PostProcessCallback } from 'zod-to-json-schema'; /** * Note: removing entries from a `anyOf` array shifts the indices of the * remaining entries, which would invalidate any sibling `$ref` that points to * a later index. The current default `disabledPresets = ['custom']` is safe * because `custom` sits at the highest index in every union (AsyncAPI 7, * OpenAPI 6, JSON Schema 1) — there are no later indices to break. A future * maintainer disabling a non-last preset must add index renumbering here. */ export declare function buildConfigurationSchema(postProcess: PostProcessCallback, disabledPresets?: readonly string[]): Record;