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"; /** * Run transform(row) per row or transform_batch(rows) once. */ export declare const Contract: { readonly Row: "row"; readonly Batch: "batch"; }; /** * Run transform(row) per row or transform_batch(rows) once. */ export type Contract = ClosedEnum; export type EvalPythonPreprocessor = { type: "python"; /** * Run transform(row) per row or transform_batch(rows) once. */ contract?: Contract | undefined; /** * Inline Python source that transforms dataset rows before prompt rendering. */ source?: string | undefined; /** * File ID for a Python preprocessor uploaded with purpose 'evals'. */ fileId?: string | undefined; timeoutSeconds?: number | undefined; }; /** @internal */ export declare const Contract$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const Contract$outboundSchema: z.ZodNativeEnum; /** @internal */ export declare const EvalPythonPreprocessor$inboundSchema: z.ZodType; /** @internal */ export type EvalPythonPreprocessor$Outbound = { type: "python"; contract: string; source?: string | undefined; file_id?: string | undefined; timeout_seconds: number; }; /** @internal */ export declare const EvalPythonPreprocessor$outboundSchema: z.ZodType; export declare function evalPythonPreprocessorToJSON(evalPythonPreprocessor: EvalPythonPreprocessor): string; export declare function evalPythonPreprocessorFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=evalpythonpreprocessor.d.ts.map