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