import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { EvalPythonGraderContract } from "./evalpythongradercontract.js"; import { EvalPythonGraderExecution } from "./evalpythongraderexecution.js"; import { EvalPythonGraderModelAccess } from "./evalpythongradermodelaccess.js"; export type EvalPythonGrader = { type: "python"; contract?: EvalPythonGraderContract | undefined; execution?: EvalPythonGraderExecution | undefined; modelAccess?: EvalPythonGraderModelAccess | undefined; /** * Default metric key used when grade returns a single float. */ metricId?: string | undefined; /** * Inline Python source that defines a supported eval grading contract. */ source?: string | undefined; /** * File ID for a Python grader uploaded with purpose 'evals'. */ fileId?: string | undefined; timeoutSeconds?: number | undefined; maxModelCalls?: number | undefined; }; /** @internal */ export declare const EvalPythonGrader$inboundSchema: z.ZodType; /** @internal */ export type EvalPythonGrader$Outbound = { type: "python"; contract?: string | undefined; execution?: string | undefined; model_access?: string | undefined; metric_id: string; source?: string | undefined; file_id?: string | undefined; timeout_seconds: number; max_model_calls: number; }; /** @internal */ export declare const EvalPythonGrader$outboundSchema: z.ZodType; export declare function evalPythonGraderToJSON(evalPythonGrader: EvalPythonGrader): string; export declare function evalPythonGraderFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=evalpythongrader.d.ts.map