import type { z } from 'zod'; /** * Render a Zod validation error as a single human-readable line keyed off the * CLI flag name. The audit's gripe with the previous formatter * (`messageRuleId: Too small: expected string to have >=1 characters`) was * that an LLM piping the JSON envelope through jq sees Zod jargon plus the * camelCase schema key — neither matches what the user typed on the command * line. This formatter prepends `--` and translates the two * common Zod codes to plain English: missing values become `is missing`, * empty strings become `is empty`. Multi-issue failures join with `; ` to * stay on one line. */ declare const formatZodError: (error: z.ZodError) => string; export { formatZodError };