import type { ZodIssue } from 'zod'; /** A flattened Zod issue suitable for cross-transport serialization. */ export type ValidationIssue = { readonly path: ReadonlyArray; readonly message: string; readonly code: string; }; /** * Convert a Zod issue into the stable diagnostic shape used by core validators. * Path segments outside the JSON-friendly string and number forms are rendered * with their string representation, preserving the original issue order. */ export declare function flattenZodIssue(issue: ZodIssue): ValidationIssue;