import * as z from "zod/v3";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
export type Context = {};
export type Loc = string | number;
export type ValidationError = {
    ctx?: Context | undefined;
    input?: any | undefined;
    loc: Array<string | number>;
    msg: string;
    type: string;
};
/** @internal */
export declare const Context$inboundSchema: z.ZodType<Context, z.ZodTypeDef, unknown>;
/** @internal */
export type Context$Outbound = {};
/** @internal */
export declare const Context$outboundSchema: z.ZodType<Context$Outbound, z.ZodTypeDef, Context>;
export declare function contextToJSON(context: Context): string;
export declare function contextFromJSON(jsonString: string): SafeParseResult<Context, SDKValidationError>;
/** @internal */
export declare const Loc$inboundSchema: z.ZodType<Loc, z.ZodTypeDef, unknown>;
/** @internal */
export type Loc$Outbound = string | number;
/** @internal */
export declare const Loc$outboundSchema: z.ZodType<Loc$Outbound, z.ZodTypeDef, Loc>;
export declare function locToJSON(loc: Loc): string;
export declare function locFromJSON(jsonString: string): SafeParseResult<Loc, SDKValidationError>;
/** @internal */
export declare const ValidationError$inboundSchema: z.ZodType<ValidationError, z.ZodTypeDef, unknown>;
/** @internal */
export type ValidationError$Outbound = {
    ctx?: Context$Outbound | undefined;
    input?: any | undefined;
    loc: Array<string | number>;
    msg: string;
    type: string;
};
/** @internal */
export declare const ValidationError$outboundSchema: z.ZodType<ValidationError$Outbound, z.ZodTypeDef, ValidationError>;
export declare function validationErrorToJSON(validationError: ValidationError): string;
export declare function validationErrorFromJSON(jsonString: string): SafeParseResult<ValidationError, SDKValidationError>;
//# sourceMappingURL=validationerror.d.ts.map