/** * Post-processors for `zod-to-json-schema`. Splits a single Zod source-of-truth * (markdown-enabled `.describe()` text) into two JSON Schema variants: * a clean one (markdown links stripped) and a markdown one (description * renamed to `markdownDescription` so Monaco renders it as markdown). */ import type { PostProcessCallback } from 'zod-to-json-schema'; /** * Replace markdown links of the form `[text](https://...)` with their link * text. Leaves plain bracketed text (e.g. `[string]`) untouched because the * expression requires `(http://` or `(https://` immediately after. */ export declare function stripMarkdownLinks(text: string): string; /** * Strip markdown link wrappers from a JSON Schema node's description. * Used to produce the canonical schema consumed by CLI validation and IDEs * that don't understand markdown. */ export declare const postProcessClean: PostProcessCallback; /** * Rename a JSON Schema node's `description` to `markdownDescription` so * Monaco-based editors render the text as markdown (and links become * clickable) in hover tooltips. */ export declare const postProcessMarkdown: PostProcessCallback;