import * as z from "zod/v3";
import { ClosedEnum } from "../../types/enums.js";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
export type CategoricalLabels = {
    value: string;
    description?: string | undefined;
};
export declare const Mode: {
    readonly Single: "single";
    readonly Jury: "jury";
};
export type Mode = ClosedEnum<typeof Mode>;
export type Retry = {
    count: number;
    onCodes?: Array<number> | undefined;
};
export type Fallbacks = {
    model: string;
};
export type Judges = {
    model: string;
    retry?: Retry | undefined;
    fallbacks?: Array<Fallbacks> | undefined;
};
export type EvaluatorResponseLlmRetry = {
    count: number;
    onCodes?: Array<number> | undefined;
};
export type EvaluatorResponseLlmFallbacks = {
    model: string;
};
export type ReplacementJudges = {
    model: string;
    retry?: EvaluatorResponseLlmRetry | undefined;
    fallbacks?: Array<EvaluatorResponseLlmFallbacks> | undefined;
};
export declare const TieValue: {
    readonly Tie: "Tie";
};
export type TieValue = ClosedEnum<typeof TieValue>;
export type Jury = {
    judges: Array<Judges>;
    replacementJudges?: Array<ReplacementJudges> | undefined;
    minSuccessfulJudges: number;
    tieValue: TieValue;
};
export type EvaluatorResponseLlm = {
    id: string;
    description: string;
    created: string;
    updated: string;
    updatedById?: string | null | undefined;
    guardrailConfig?: any | undefined;
    type: "llm_eval";
    repetitions?: number | null | undefined;
    prompt: string;
    categories?: Array<string> | null | undefined;
    categoricalLabels?: Array<CategoricalLabels> | null | undefined;
    datasetId?: string | undefined;
    key: string;
    mode: Mode;
    model?: string | undefined;
    jury?: Jury | undefined;
};
/** @internal */
export declare const CategoricalLabels$inboundSchema: z.ZodType<CategoricalLabels, z.ZodTypeDef, unknown>;
export declare function categoricalLabelsFromJSON(jsonString: string): SafeParseResult<CategoricalLabels, SDKValidationError>;
/** @internal */
export declare const Mode$inboundSchema: z.ZodNativeEnum<typeof Mode>;
/** @internal */
export declare const Retry$inboundSchema: z.ZodType<Retry, z.ZodTypeDef, unknown>;
export declare function retryFromJSON(jsonString: string): SafeParseResult<Retry, SDKValidationError>;
/** @internal */
export declare const Fallbacks$inboundSchema: z.ZodType<Fallbacks, z.ZodTypeDef, unknown>;
export declare function fallbacksFromJSON(jsonString: string): SafeParseResult<Fallbacks, SDKValidationError>;
/** @internal */
export declare const Judges$inboundSchema: z.ZodType<Judges, z.ZodTypeDef, unknown>;
export declare function judgesFromJSON(jsonString: string): SafeParseResult<Judges, SDKValidationError>;
/** @internal */
export declare const EvaluatorResponseLlmRetry$inboundSchema: z.ZodType<EvaluatorResponseLlmRetry, z.ZodTypeDef, unknown>;
export declare function evaluatorResponseLlmRetryFromJSON(jsonString: string): SafeParseResult<EvaluatorResponseLlmRetry, SDKValidationError>;
/** @internal */
export declare const EvaluatorResponseLlmFallbacks$inboundSchema: z.ZodType<EvaluatorResponseLlmFallbacks, z.ZodTypeDef, unknown>;
export declare function evaluatorResponseLlmFallbacksFromJSON(jsonString: string): SafeParseResult<EvaluatorResponseLlmFallbacks, SDKValidationError>;
/** @internal */
export declare const ReplacementJudges$inboundSchema: z.ZodType<ReplacementJudges, z.ZodTypeDef, unknown>;
export declare function replacementJudgesFromJSON(jsonString: string): SafeParseResult<ReplacementJudges, SDKValidationError>;
/** @internal */
export declare const TieValue$inboundSchema: z.ZodNativeEnum<typeof TieValue>;
/** @internal */
export declare const Jury$inboundSchema: z.ZodType<Jury, z.ZodTypeDef, unknown>;
export declare function juryFromJSON(jsonString: string): SafeParseResult<Jury, SDKValidationError>;
/** @internal */
export declare const EvaluatorResponseLlm$inboundSchema: z.ZodType<EvaluatorResponseLlm, z.ZodTypeDef, unknown>;
export declare function evaluatorResponseLlmFromJSON(jsonString: string): SafeParseResult<EvaluatorResponseLlm, SDKValidationError>;
//# sourceMappingURL=evaluatorresponsellm.d.ts.map