import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; /** * A single field-level or parameter-level validation error. */ export type ValidationError = { /** * A machine-readable error code identifying the specific validation failure. */ code: string; /** * A human-readable description of the validation error. */ message: string; /** * The name of the field, parameter, or path segment that caused the error. */ target?: string | undefined; }; /** @internal */ export declare const ValidationError$inboundSchema: z.ZodType; export declare function validationErrorFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=validationerror.d.ts.map