import { z } from "zod"; export { TrainingHandoffOriginSchema, type TrainingHandoffOrigin } from "@openpond/evals/learning"; export declare const TrainingHandoffContextSchema: z.ZodObject<{ available: z.ZodBoolean; reason: z.ZodNullable; origin: z.ZodNullable; teamId: z.ZodString; projectId: z.ZodNullable; configurationId: z.ZodString; source: z.ZodObject<{ executionId: z.ZodString; passId: z.ZodNullable; manifestHash: z.ZodString; resultHash: z.ZodString; }, z.core.$strict>; dataset: z.ZodObject<{ id: z.ZodString; revision: z.ZodNumber; contentHash: z.ZodString; }, z.core.$strict>; target: z.ZodDiscriminatedUnion<[z.ZodObject<{ kind: z.ZodLiteral<"model">; modelId: z.ZodString; configurationHash: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"harness">; source: z.ZodObject<{ profileId: z.ZodString; sourceRevision: z.ZodString; harnessRelease: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; catalogHash: z.ZodString; definitionId: z.ZodString; definitionHash: z.ZodString; target: z.ZodDiscriminatedUnion<[z.ZodObject<{ kind: z.ZodLiteral<"profile">; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"workflow">; workflowId: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"skill">; skillPath: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"agent_action">; actionId: z.ZodString; }, z.core.$strict>], "kind">; environmentHash: z.ZodString; externalDatasetBinding: z.ZodOptional; dataset: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; revision: z.ZodNumber; }, z.core.$strict>; packageHash: z.ZodString; profileId: z.ZodString; target: z.ZodDiscriminatedUnion<[z.ZodObject<{ kind: z.ZodLiteral<"profile">; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"workflow">; workflowId: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"skill">; skillPath: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"agent_action">; actionId: z.ZodString; }, z.core.$strict>], "kind">; declaredProfileCatalogHash: z.ZodNullable; protectedProfileClosureHash: z.ZodString; recordedOrigin: z.ZodOptional; originalEvidence: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; members: z.ZodArray>; }, z.core.$strict>>; gradingSource: z.ZodOptional; evidence: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; }, z.core.$strict>>; split: z.ZodEnum<{ frozen_eval: "frozen_eval"; test: "test"; train: "train"; validation: "validation"; }>; population: z.ZodArray; }, z.core.$strict>>; evaluators: z.ZodArray; }, z.core.$strict>; feedbackKey: z.ZodString; configurationHash: z.ZodString; output: z.ZodEnum<{ boolean: "boolean"; category: "category"; score: "score"; }>; categories: z.ZodArray; }, z.core.$strict>>; fieldMappingsHash: z.ZodString; fieldMappings: z.ZodArray; path: z.ZodArray; source: z.ZodEnum<{ evaluatorContext: "evaluatorContext"; expectedOutput: "expectedOutput"; input: "input"; output: "output"; }>; sourcePath: z.ZodArray; }, z.core.$strict>>; }, z.core.$strict>>; environmentHash: z.ZodString; privateDatasetClosureHash: z.ZodString; criterion: z.ZodObject<{ minimumPassRate: z.ZodNumber; requireComplete: z.ZodBoolean; }, z.core.$strict>; contentHash: z.ZodString; }, z.core.$strict>>; sourceCandidate: z.ZodOptional; protectedClosureHash: z.ZodString; }, z.core.$strict>>; }, z.core.$strict>; model: z.ZodObject<{ modelId: z.ZodString; configurationHash: z.ZodString; }, z.core.$strict>; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"agent">; source: z.ZodObject<{ harnessRelease: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; agentSnapshot: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; sourcePackageHash: z.ZodString; }, z.core.$strict>; model: z.ZodObject<{ modelId: z.ZodString; configurationHash: z.ZodString; }, z.core.$strict>; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"fixture">; configurationHash: z.ZodString; }, z.core.$strict>], "kind">; graders: z.ZodArray; expectedCount: z.ZodNumber; scoredCount: z.ZodNumber; score: z.ZodNullable; }, z.core.$strict>>; contentHash: z.ZodString; }, z.core.$strict>>; }, z.core.$strict>; export type TrainingHandoffContext = z.infer; export declare const PostTrainingAttachmentSchema: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.postTrainingAttachment.v1">; binding: z.ZodObject<{ kind: z.ZodEnum<{ policy: "policy"; preparation: "preparation"; }>; id: z.ZodString; revision: z.ZodNumber; contentHash: z.ZodString; }, z.core.$strict>; projectId: z.ZodNullable; automatic: z.ZodBoolean; maximumSpendUsd: z.ZodNumber; experiments: z.ZodArray; operationId: z.ZodString; teamId: z.ZodString; modelProjectId: z.ZodNullable; name: z.ZodOptional; project: z.ZodOptional; }, z.core.$strict>>; taskset: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; revision: z.ZodNumber; }, z.core.$strict>; policy: z.ZodDiscriminatedUnion<[z.ZodObject<{ kind: z.ZodLiteral<"hosted_chat">; modelId: z.ZodString; localRuntime: z.ZodOptional; configurationHash: z.ZodString; maximumRequestCostUsd: z.ZodNumber; requestTimeoutMs: z.ZodNumber; }, z.core.$strict>, z.ZodObject<{ providerId: z.ZodLiteral<"claude-code">; configurationHash: z.ZodString; executableHash: z.ZodString; version: z.ZodString; capabilityHash: z.ZodString; maximumRequestCostUsd: z.ZodNumber; requestTimeoutMs: z.ZodNumber; maximumTurns: z.ZodNumber; holdOpen: z.ZodBoolean; }, z.core.$strict>, z.ZodObject<{ providerId: z.ZodLiteral<"codex">; configurationHash: z.ZodString; accountHash: z.ZodString; reasoningEffort: z.ZodEnum<{ high: "high"; low: "low"; medium: "medium"; xhigh: "xhigh"; }>; maximumRequestCostUsd: z.ZodNumber; requestTimeoutMs: z.ZodNumber; }, z.core.$strict>]>>; candidate: z.ZodOptional>; harness: z.ZodOptional; agentSnapshot: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; sourcePackageHash: z.ZodString; }, z.core.$strict>>; messages: z.ZodOptional; content: z.ZodString; }, z.core.$strict>>>; maxOutputTokens: z.ZodDefault; temperature: z.ZodDefault; topP: z.ZodDefault; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"fixture">; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"hosted_harness">; modelId: z.ZodString; maxOutputTokens: z.ZodOptional; temperature: z.ZodOptional; topP: z.ZodOptional; localRuntime: z.ZodOptional; configurationHash: z.ZodString; accountHash: z.ZodString; reasoningEffort: z.ZodEnum<{ high: "high"; low: "low"; medium: "medium"; xhigh: "xhigh"; }>; maximumRequestCostUsd: z.ZodNumber; requestTimeoutMs: z.ZodNumber; }, z.core.$strict>>; candidate: z.ZodOptional>; sourceCandidate: z.ZodOptional; protectedClosureHash: z.ZodString; }, z.core.$strict>>; reasoningEffort: z.ZodOptional>; profileRepositoryId: z.ZodString; source: z.ZodObject<{ profileId: z.ZodString; sourceRevision: z.ZodString; harnessRelease: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; catalogHash: z.ZodString; definitionId: z.ZodString; definitionHash: z.ZodString; target: z.ZodDiscriminatedUnion<[z.ZodObject<{ kind: z.ZodLiteral<"profile">; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"workflow">; workflowId: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"skill">; skillPath: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"agent_action">; actionId: z.ZodString; }, z.core.$strict>], "kind">; environmentHash: z.ZodString; externalDatasetBinding: z.ZodOptional; dataset: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; revision: z.ZodNumber; }, z.core.$strict>; packageHash: z.ZodString; profileId: z.ZodString; target: z.ZodDiscriminatedUnion<[z.ZodObject<{ kind: z.ZodLiteral<"profile">; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"workflow">; workflowId: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"skill">; skillPath: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"agent_action">; actionId: z.ZodString; }, z.core.$strict>], "kind">; declaredProfileCatalogHash: z.ZodNullable; protectedProfileClosureHash: z.ZodString; recordedOrigin: z.ZodOptional; originalEvidence: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; members: z.ZodArray>; }, z.core.$strict>>; gradingSource: z.ZodOptional; evidence: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; }, z.core.$strict>>; split: z.ZodEnum<{ frozen_eval: "frozen_eval"; test: "test"; train: "train"; validation: "validation"; }>; population: z.ZodArray; }, z.core.$strict>>; evaluators: z.ZodArray; }, z.core.$strict>; feedbackKey: z.ZodString; configurationHash: z.ZodString; output: z.ZodEnum<{ boolean: "boolean"; category: "category"; score: "score"; }>; categories: z.ZodArray; }, z.core.$strict>>; fieldMappingsHash: z.ZodString; fieldMappings: z.ZodArray; path: z.ZodArray; source: z.ZodEnum<{ evaluatorContext: "evaluatorContext"; expectedOutput: "expectedOutput"; input: "input"; output: "output"; }>; sourcePath: z.ZodArray; }, z.core.$strict>>; }, z.core.$strict>>; environmentHash: z.ZodString; privateDatasetClosureHash: z.ZodString; criterion: z.ZodObject<{ minimumPassRate: z.ZodNumber; requireComplete: z.ZodBoolean; }, z.core.$strict>; contentHash: z.ZodString; }, z.core.$strict>>; sourceCandidate: z.ZodOptional; protectedClosureHash: z.ZodString; }, z.core.$strict>>; }, z.core.$strict>; modelConfigurationHash: z.ZodString; packageHash: z.ZodString; externalDatasetBinding: z.ZodOptional; dataset: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; revision: z.ZodNumber; }, z.core.$strict>; packageHash: z.ZodString; profileId: z.ZodString; target: z.ZodDiscriminatedUnion<[z.ZodObject<{ kind: z.ZodLiteral<"profile">; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"workflow">; workflowId: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"skill">; skillPath: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"agent_action">; actionId: z.ZodString; }, z.core.$strict>], "kind">; declaredProfileCatalogHash: z.ZodNullable; protectedProfileClosureHash: z.ZodString; recordedOrigin: z.ZodOptional; originalEvidence: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; members: z.ZodArray>; }, z.core.$strict>>; gradingSource: z.ZodOptional; evidence: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; }, z.core.$strict>>; split: z.ZodEnum<{ frozen_eval: "frozen_eval"; test: "test"; train: "train"; validation: "validation"; }>; population: z.ZodArray; }, z.core.$strict>>; evaluators: z.ZodArray; }, z.core.$strict>; feedbackKey: z.ZodString; configurationHash: z.ZodString; output: z.ZodEnum<{ boolean: "boolean"; category: "category"; score: "score"; }>; categories: z.ZodArray; }, z.core.$strict>>; fieldMappingsHash: z.ZodString; fieldMappings: z.ZodArray; path: z.ZodArray; source: z.ZodEnum<{ evaluatorContext: "evaluatorContext"; expectedOutput: "expectedOutput"; input: "input"; output: "output"; }>; sourcePath: z.ZodArray; }, z.core.$strict>>; }, z.core.$strict>>; environmentHash: z.ZodString; privateDatasetClosureHash: z.ZodString; criterion: z.ZodObject<{ minimumPassRate: z.ZodNumber; requireComplete: z.ZodBoolean; }, z.core.$strict>; contentHash: z.ZodString; }, z.core.$strict>>; }, z.core.$strict>], "kind">; population: z.ZodArray; }, z.core.$strict>>; }, z.core.$strict>; maximumCostUsd: z.ZodNumber; graders: z.ZodOptional; path: z.ZodArray; source: z.ZodEnum<{ evaluatorContext: "evaluatorContext"; expectedOutput: "expectedOutput"; input: "input"; output: "output"; }>; sourcePath: z.ZodArray; }, z.core.$strict>>; }, z.core.$strict>>>; sourceExperimentId: z.ZodOptional; }, z.core.$strict>; }, z.core.$strict>>; acceptancePlan: z.ZodNullable; id: z.ZodString; revision: z.ZodNumber; checks: z.ZodArray>; unit: z.ZodOptional; baselineReuse: z.ZodOptional; }, z.core.$strict>>; dataset: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; evaluator: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; executionHash: z.ZodString; populationHash: z.ZodString; metric: z.ZodString; direction: z.ZodEnum<{ higher: "higher"; lower: "lower"; }>; minimumCoverage: z.ZodNumber; threshold: z.ZodNumber; maximumRegression: z.ZodNumber; maximumSpendUsd: z.ZodNumber; }, z.core.$strict>>; maximumSpendUsd: z.ZodNumber; contentHash: z.ZodString; }, z.core.$strict>>; }, z.core.$strict>; export type PostTrainingAttachment = z.infer; /** Target-independent recipe pins keep the paired baseline/candidate check on * the same released data, case order, settings and graders. */ export declare function postTrainingRecipe(configuration: PostTrainingAttachment["experiments"][number]["configuration"]): { dataset: { id: string; contentHash: string; }; populationHash: string; executionHash: string; }; export declare const PostTrainingQualificationSchema: z.ZodObject<{ baseline: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; checks: z.ZodArray; feedbackKey: z.ZodString; output: z.ZodEnum<{ boolean: "boolean"; score: "score"; }>; unit: z.ZodString; }, z.core.$strict>>; }, z.core.$strict>; export declare const PostTrainingStateSchema: z.ZodEnum<{ blocked: "blocked"; budget_exhausted: "budget_exhausted"; cancelled: "cancelled"; cleaning: "cleaning"; completed: "completed"; failed: "failed"; preparing: "preparing"; queued: "queued"; ready: "ready"; running: "running"; waiting_for_training: "waiting_for_training"; }>; export declare const PostTrainingSummarySchema: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.postTrainingSummary.v1">; id: z.ZodString; teamId: z.ZodString; jobId: z.ZodString; revision: z.ZodNumber; planHash: z.ZodString; automatic: z.ZodBoolean; candidate: z.ZodNullable>; state: z.ZodEnum<{ blocked: "blocked"; budget_exhausted: "budget_exhausted"; cancelled: "cancelled"; cleaning: "cleaning"; completed: "completed"; failed: "failed"; preparing: "preparing"; queued: "queued"; ready: "ready"; running: "running"; waiting_for_training: "waiting_for_training"; }>; total: z.ZodNumber; completed: z.ZodNumber; failed: z.ZodNumber; requiredOutcome: z.ZodEnum<{ blocked: "blocked"; failed: "failed"; none: "none"; passed: "passed"; pending: "pending"; }>; reason: z.ZodNullable; groupId: z.ZodNullable; experimentIds: z.ZodArray; updatedAt: z.ZodISODateTime; }, z.core.$strict>; export type PostTrainingSummary = z.infer; export declare const PostTrainingControlSchema: z.ZodObject<{ operationId: z.ZodString; expectedRevision: z.ZodNumber; planHash: z.ZodString; }, z.core.$strict>; export declare const AttachPostTrainingSchema: z.ZodObject<{ operationId: z.ZodString; attachment: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.postTrainingAttachment.v1">; binding: z.ZodObject<{ kind: z.ZodEnum<{ policy: "policy"; preparation: "preparation"; }>; id: z.ZodString; revision: z.ZodNumber; contentHash: z.ZodString; }, z.core.$strict>; projectId: z.ZodNullable; automatic: z.ZodBoolean; maximumSpendUsd: z.ZodNumber; experiments: z.ZodArray; operationId: z.ZodString; teamId: z.ZodString; modelProjectId: z.ZodNullable; name: z.ZodOptional; project: z.ZodOptional; }, z.core.$strict>>; taskset: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; revision: z.ZodNumber; }, z.core.$strict>; policy: z.ZodDiscriminatedUnion<[z.ZodObject<{ kind: z.ZodLiteral<"hosted_chat">; modelId: z.ZodString; localRuntime: z.ZodOptional; configurationHash: z.ZodString; maximumRequestCostUsd: z.ZodNumber; requestTimeoutMs: z.ZodNumber; }, z.core.$strict>, z.ZodObject<{ providerId: z.ZodLiteral<"claude-code">; configurationHash: z.ZodString; executableHash: z.ZodString; version: z.ZodString; capabilityHash: z.ZodString; maximumRequestCostUsd: z.ZodNumber; requestTimeoutMs: z.ZodNumber; maximumTurns: z.ZodNumber; holdOpen: z.ZodBoolean; }, z.core.$strict>, z.ZodObject<{ providerId: z.ZodLiteral<"codex">; configurationHash: z.ZodString; accountHash: z.ZodString; reasoningEffort: z.ZodEnum<{ high: "high"; low: "low"; medium: "medium"; xhigh: "xhigh"; }>; maximumRequestCostUsd: z.ZodNumber; requestTimeoutMs: z.ZodNumber; }, z.core.$strict>]>>; candidate: z.ZodOptional>; harness: z.ZodOptional; agentSnapshot: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; sourcePackageHash: z.ZodString; }, z.core.$strict>>; messages: z.ZodOptional; content: z.ZodString; }, z.core.$strict>>>; maxOutputTokens: z.ZodDefault; temperature: z.ZodDefault; topP: z.ZodDefault; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"fixture">; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"hosted_harness">; modelId: z.ZodString; maxOutputTokens: z.ZodOptional; temperature: z.ZodOptional; topP: z.ZodOptional; localRuntime: z.ZodOptional; configurationHash: z.ZodString; accountHash: z.ZodString; reasoningEffort: z.ZodEnum<{ high: "high"; low: "low"; medium: "medium"; xhigh: "xhigh"; }>; maximumRequestCostUsd: z.ZodNumber; requestTimeoutMs: z.ZodNumber; }, z.core.$strict>>; candidate: z.ZodOptional>; sourceCandidate: z.ZodOptional; protectedClosureHash: z.ZodString; }, z.core.$strict>>; reasoningEffort: z.ZodOptional>; profileRepositoryId: z.ZodString; source: z.ZodObject<{ profileId: z.ZodString; sourceRevision: z.ZodString; harnessRelease: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; catalogHash: z.ZodString; definitionId: z.ZodString; definitionHash: z.ZodString; target: z.ZodDiscriminatedUnion<[z.ZodObject<{ kind: z.ZodLiteral<"profile">; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"workflow">; workflowId: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"skill">; skillPath: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"agent_action">; actionId: z.ZodString; }, z.core.$strict>], "kind">; environmentHash: z.ZodString; externalDatasetBinding: z.ZodOptional; dataset: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; revision: z.ZodNumber; }, z.core.$strict>; packageHash: z.ZodString; profileId: z.ZodString; target: z.ZodDiscriminatedUnion<[z.ZodObject<{ kind: z.ZodLiteral<"profile">; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"workflow">; workflowId: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"skill">; skillPath: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"agent_action">; actionId: z.ZodString; }, z.core.$strict>], "kind">; declaredProfileCatalogHash: z.ZodNullable; protectedProfileClosureHash: z.ZodString; recordedOrigin: z.ZodOptional; originalEvidence: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; members: z.ZodArray>; }, z.core.$strict>>; gradingSource: z.ZodOptional; evidence: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; }, z.core.$strict>>; split: z.ZodEnum<{ frozen_eval: "frozen_eval"; test: "test"; train: "train"; validation: "validation"; }>; population: z.ZodArray; }, z.core.$strict>>; evaluators: z.ZodArray; }, z.core.$strict>; feedbackKey: z.ZodString; configurationHash: z.ZodString; output: z.ZodEnum<{ boolean: "boolean"; category: "category"; score: "score"; }>; categories: z.ZodArray; }, z.core.$strict>>; fieldMappingsHash: z.ZodString; fieldMappings: z.ZodArray; path: z.ZodArray; source: z.ZodEnum<{ evaluatorContext: "evaluatorContext"; expectedOutput: "expectedOutput"; input: "input"; output: "output"; }>; sourcePath: z.ZodArray; }, z.core.$strict>>; }, z.core.$strict>>; environmentHash: z.ZodString; privateDatasetClosureHash: z.ZodString; criterion: z.ZodObject<{ minimumPassRate: z.ZodNumber; requireComplete: z.ZodBoolean; }, z.core.$strict>; contentHash: z.ZodString; }, z.core.$strict>>; sourceCandidate: z.ZodOptional; protectedClosureHash: z.ZodString; }, z.core.$strict>>; }, z.core.$strict>; modelConfigurationHash: z.ZodString; packageHash: z.ZodString; externalDatasetBinding: z.ZodOptional; dataset: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; revision: z.ZodNumber; }, z.core.$strict>; packageHash: z.ZodString; profileId: z.ZodString; target: z.ZodDiscriminatedUnion<[z.ZodObject<{ kind: z.ZodLiteral<"profile">; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"workflow">; workflowId: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"skill">; skillPath: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"agent_action">; actionId: z.ZodString; }, z.core.$strict>], "kind">; declaredProfileCatalogHash: z.ZodNullable; protectedProfileClosureHash: z.ZodString; recordedOrigin: z.ZodOptional; originalEvidence: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; members: z.ZodArray>; }, z.core.$strict>>; gradingSource: z.ZodOptional; evidence: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; }, z.core.$strict>>; split: z.ZodEnum<{ frozen_eval: "frozen_eval"; test: "test"; train: "train"; validation: "validation"; }>; population: z.ZodArray; }, z.core.$strict>>; evaluators: z.ZodArray; }, z.core.$strict>; feedbackKey: z.ZodString; configurationHash: z.ZodString; output: z.ZodEnum<{ boolean: "boolean"; category: "category"; score: "score"; }>; categories: z.ZodArray; }, z.core.$strict>>; fieldMappingsHash: z.ZodString; fieldMappings: z.ZodArray; path: z.ZodArray; source: z.ZodEnum<{ evaluatorContext: "evaluatorContext"; expectedOutput: "expectedOutput"; input: "input"; output: "output"; }>; sourcePath: z.ZodArray; }, z.core.$strict>>; }, z.core.$strict>>; environmentHash: z.ZodString; privateDatasetClosureHash: z.ZodString; criterion: z.ZodObject<{ minimumPassRate: z.ZodNumber; requireComplete: z.ZodBoolean; }, z.core.$strict>; contentHash: z.ZodString; }, z.core.$strict>>; }, z.core.$strict>], "kind">; population: z.ZodArray; }, z.core.$strict>>; }, z.core.$strict>; maximumCostUsd: z.ZodNumber; graders: z.ZodOptional; path: z.ZodArray; source: z.ZodEnum<{ evaluatorContext: "evaluatorContext"; expectedOutput: "expectedOutput"; input: "input"; output: "output"; }>; sourcePath: z.ZodArray; }, z.core.$strict>>; }, z.core.$strict>>>; sourceExperimentId: z.ZodOptional; }, z.core.$strict>; }, z.core.$strict>>; acceptancePlan: z.ZodNullable; id: z.ZodString; revision: z.ZodNumber; checks: z.ZodArray>; unit: z.ZodOptional; baselineReuse: z.ZodOptional; }, z.core.$strict>>; dataset: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; evaluator: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; executionHash: z.ZodString; populationHash: z.ZodString; metric: z.ZodString; direction: z.ZodEnum<{ higher: "higher"; lower: "lower"; }>; minimumCoverage: z.ZodNumber; threshold: z.ZodNumber; maximumRegression: z.ZodNumber; maximumSpendUsd: z.ZodNumber; }, z.core.$strict>>; maximumSpendUsd: z.ZodNumber; contentHash: z.ZodString; }, z.core.$strict>>; }, z.core.$strict>; }, z.core.$strict>; export declare const PostTrainingPlanSchema: z.ZodObject<{ id: z.ZodString; teamId: z.ZodString; ownerUserId: z.ZodString; attachment: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.postTrainingAttachment.v1">; binding: z.ZodObject<{ kind: z.ZodEnum<{ policy: "policy"; preparation: "preparation"; }>; id: z.ZodString; revision: z.ZodNumber; contentHash: z.ZodString; }, z.core.$strict>; projectId: z.ZodNullable; automatic: z.ZodBoolean; maximumSpendUsd: z.ZodNumber; experiments: z.ZodArray; operationId: z.ZodString; teamId: z.ZodString; modelProjectId: z.ZodNullable; name: z.ZodOptional; project: z.ZodOptional; }, z.core.$strict>>; taskset: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; revision: z.ZodNumber; }, z.core.$strict>; policy: z.ZodDiscriminatedUnion<[z.ZodObject<{ kind: z.ZodLiteral<"hosted_chat">; modelId: z.ZodString; localRuntime: z.ZodOptional; configurationHash: z.ZodString; maximumRequestCostUsd: z.ZodNumber; requestTimeoutMs: z.ZodNumber; }, z.core.$strict>, z.ZodObject<{ providerId: z.ZodLiteral<"claude-code">; configurationHash: z.ZodString; executableHash: z.ZodString; version: z.ZodString; capabilityHash: z.ZodString; maximumRequestCostUsd: z.ZodNumber; requestTimeoutMs: z.ZodNumber; maximumTurns: z.ZodNumber; holdOpen: z.ZodBoolean; }, z.core.$strict>, z.ZodObject<{ providerId: z.ZodLiteral<"codex">; configurationHash: z.ZodString; accountHash: z.ZodString; reasoningEffort: z.ZodEnum<{ high: "high"; low: "low"; medium: "medium"; xhigh: "xhigh"; }>; maximumRequestCostUsd: z.ZodNumber; requestTimeoutMs: z.ZodNumber; }, z.core.$strict>]>>; candidate: z.ZodOptional>; harness: z.ZodOptional; agentSnapshot: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; sourcePackageHash: z.ZodString; }, z.core.$strict>>; messages: z.ZodOptional; content: z.ZodString; }, z.core.$strict>>>; maxOutputTokens: z.ZodDefault; temperature: z.ZodDefault; topP: z.ZodDefault; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"fixture">; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"hosted_harness">; modelId: z.ZodString; maxOutputTokens: z.ZodOptional; temperature: z.ZodOptional; topP: z.ZodOptional; localRuntime: z.ZodOptional; configurationHash: z.ZodString; accountHash: z.ZodString; reasoningEffort: z.ZodEnum<{ high: "high"; low: "low"; medium: "medium"; xhigh: "xhigh"; }>; maximumRequestCostUsd: z.ZodNumber; requestTimeoutMs: z.ZodNumber; }, z.core.$strict>>; candidate: z.ZodOptional>; sourceCandidate: z.ZodOptional; protectedClosureHash: z.ZodString; }, z.core.$strict>>; reasoningEffort: z.ZodOptional>; profileRepositoryId: z.ZodString; source: z.ZodObject<{ profileId: z.ZodString; sourceRevision: z.ZodString; harnessRelease: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; catalogHash: z.ZodString; definitionId: z.ZodString; definitionHash: z.ZodString; target: z.ZodDiscriminatedUnion<[z.ZodObject<{ kind: z.ZodLiteral<"profile">; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"workflow">; workflowId: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"skill">; skillPath: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"agent_action">; actionId: z.ZodString; }, z.core.$strict>], "kind">; environmentHash: z.ZodString; externalDatasetBinding: z.ZodOptional; dataset: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; revision: z.ZodNumber; }, z.core.$strict>; packageHash: z.ZodString; profileId: z.ZodString; target: z.ZodDiscriminatedUnion<[z.ZodObject<{ kind: z.ZodLiteral<"profile">; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"workflow">; workflowId: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"skill">; skillPath: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"agent_action">; actionId: z.ZodString; }, z.core.$strict>], "kind">; declaredProfileCatalogHash: z.ZodNullable; protectedProfileClosureHash: z.ZodString; recordedOrigin: z.ZodOptional; originalEvidence: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; members: z.ZodArray>; }, z.core.$strict>>; gradingSource: z.ZodOptional; evidence: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; }, z.core.$strict>>; split: z.ZodEnum<{ frozen_eval: "frozen_eval"; test: "test"; train: "train"; validation: "validation"; }>; population: z.ZodArray; }, z.core.$strict>>; evaluators: z.ZodArray; }, z.core.$strict>; feedbackKey: z.ZodString; configurationHash: z.ZodString; output: z.ZodEnum<{ boolean: "boolean"; category: "category"; score: "score"; }>; categories: z.ZodArray; }, z.core.$strict>>; fieldMappingsHash: z.ZodString; fieldMappings: z.ZodArray; path: z.ZodArray; source: z.ZodEnum<{ evaluatorContext: "evaluatorContext"; expectedOutput: "expectedOutput"; input: "input"; output: "output"; }>; sourcePath: z.ZodArray; }, z.core.$strict>>; }, z.core.$strict>>; environmentHash: z.ZodString; privateDatasetClosureHash: z.ZodString; criterion: z.ZodObject<{ minimumPassRate: z.ZodNumber; requireComplete: z.ZodBoolean; }, z.core.$strict>; contentHash: z.ZodString; }, z.core.$strict>>; sourceCandidate: z.ZodOptional; protectedClosureHash: z.ZodString; }, z.core.$strict>>; }, z.core.$strict>; modelConfigurationHash: z.ZodString; packageHash: z.ZodString; externalDatasetBinding: z.ZodOptional; dataset: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; revision: z.ZodNumber; }, z.core.$strict>; packageHash: z.ZodString; profileId: z.ZodString; target: z.ZodDiscriminatedUnion<[z.ZodObject<{ kind: z.ZodLiteral<"profile">; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"workflow">; workflowId: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"skill">; skillPath: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"agent_action">; actionId: z.ZodString; }, z.core.$strict>], "kind">; declaredProfileCatalogHash: z.ZodNullable; protectedProfileClosureHash: z.ZodString; recordedOrigin: z.ZodOptional; originalEvidence: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; members: z.ZodArray>; }, z.core.$strict>>; gradingSource: z.ZodOptional; evidence: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; }, z.core.$strict>>; split: z.ZodEnum<{ frozen_eval: "frozen_eval"; test: "test"; train: "train"; validation: "validation"; }>; population: z.ZodArray; }, z.core.$strict>>; evaluators: z.ZodArray; }, z.core.$strict>; feedbackKey: z.ZodString; configurationHash: z.ZodString; output: z.ZodEnum<{ boolean: "boolean"; category: "category"; score: "score"; }>; categories: z.ZodArray; }, z.core.$strict>>; fieldMappingsHash: z.ZodString; fieldMappings: z.ZodArray; path: z.ZodArray; source: z.ZodEnum<{ evaluatorContext: "evaluatorContext"; expectedOutput: "expectedOutput"; input: "input"; output: "output"; }>; sourcePath: z.ZodArray; }, z.core.$strict>>; }, z.core.$strict>>; environmentHash: z.ZodString; privateDatasetClosureHash: z.ZodString; criterion: z.ZodObject<{ minimumPassRate: z.ZodNumber; requireComplete: z.ZodBoolean; }, z.core.$strict>; contentHash: z.ZodString; }, z.core.$strict>>; }, z.core.$strict>], "kind">; population: z.ZodArray; }, z.core.$strict>>; }, z.core.$strict>; maximumCostUsd: z.ZodNumber; graders: z.ZodOptional; path: z.ZodArray; source: z.ZodEnum<{ evaluatorContext: "evaluatorContext"; expectedOutput: "expectedOutput"; input: "input"; output: "output"; }>; sourcePath: z.ZodArray; }, z.core.$strict>>; }, z.core.$strict>>>; sourceExperimentId: z.ZodOptional; }, z.core.$strict>; }, z.core.$strict>>; acceptancePlan: z.ZodNullable; id: z.ZodString; revision: z.ZodNumber; checks: z.ZodArray>; unit: z.ZodOptional; baselineReuse: z.ZodOptional; }, z.core.$strict>>; dataset: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; evaluator: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; executionHash: z.ZodString; populationHash: z.ZodString; metric: z.ZodString; direction: z.ZodEnum<{ higher: "higher"; lower: "lower"; }>; minimumCoverage: z.ZodNumber; threshold: z.ZodNumber; maximumRegression: z.ZodNumber; maximumSpendUsd: z.ZodNumber; }, z.core.$strict>>; maximumSpendUsd: z.ZodNumber; contentHash: z.ZodString; }, z.core.$strict>>; }, z.core.$strict>; qualification: z.ZodNullable; checks: z.ZodArray; feedbackKey: z.ZodString; output: z.ZodEnum<{ boolean: "boolean"; score: "score"; }>; unit: z.ZodString; }, z.core.$strict>>; }, z.core.$strict>>; contentHash: z.ZodString; createdAt: z.ZodISODateTime; }, z.core.$strict>; export type PostTrainingPlan = z.infer; export declare function verifyPostTrainingPlan(raw: unknown): PostTrainingPlan; export declare function postTrainingActive(summary: PostTrainingSummary | null | undefined): boolean; /** Read/setup are configuration-only. Manual start authorizes exactly the * retained candidate, plan and revision. A retry never launches training. */ export declare function createPostTrainingClient(input: { request: (path: string, init?: RequestInit) => Promise; }): { attach(teamId: string, raw: z.input): Promise<{ id: string; teamId: string; ownerUserId: string; attachment: { schemaVersion: "openpond.postTrainingAttachment.v1"; binding: { kind: "policy" | "preparation"; id: string; revision: number; contentHash: string; }; projectId: string | null; automatic: boolean; maximumSpendUsd: number; experiments: { id: string; configuration: { operationId: string; request: { schemaVersion: "openpond.modelTasksetRunRequest.v1"; operationId: string; teamId: string; modelProjectId: string | null; name?: string | undefined; project?: { id: string; revision: number; contentHash: string; targetId: string | null; } | undefined; taskset: { id: string; contentHash: string; revision: number; }; policy: { kind: "hosted_chat"; modelId: string; localRuntime?: { providerId: "custom-openai-compatible"; configurationHash: string; maximumRequestCostUsd: number; requestTimeoutMs: number; } | { providerId: "claude-code"; configurationHash: string; executableHash: string; version: string; capabilityHash: string; maximumRequestCostUsd: number; requestTimeoutMs: number; maximumTurns: number; holdOpen: boolean; } | { providerId: "codex"; configurationHash: string; accountHash: string; reasoningEffort: "high" | "low" | "medium" | "xhigh"; maximumRequestCostUsd: number; requestTimeoutMs: number; } | undefined; candidate?: { artifactId: string; contentHash: string; preparationId: string; dispatchId: string; baseProfileId: string; workerImageDigest: string; } | undefined; harness?: { harnessRelease: { id: string; contentHash: string; }; agentSnapshot: { id: string; contentHash: string; }; sourcePackageHash: string; } | undefined; messages?: { role: "assistant" | "system" | "user"; content: string; }[] | undefined; maxOutputTokens: number; temperature: number; topP: number; } | { kind: "fixture"; } | { kind: "hosted_harness"; modelId: string; maxOutputTokens?: number | undefined; temperature?: number | undefined; topP?: number | undefined; localRuntime?: { providerId: "codex"; configurationHash: string; accountHash: string; reasoningEffort: "high" | "low" | "medium" | "xhigh"; maximumRequestCostUsd: number; requestTimeoutMs: number; } | undefined; candidate?: { artifactId: string; contentHash: string; preparationId: string; dispatchId: string; baseProfileId: string; workerImageDigest: string; } | undefined; sourceCandidate?: { candidateId: string; frozenRevision: number; frozenHash: string; harnessRelease: { id: string; contentHash: string; }; protectedClosureHash: string; } | undefined; reasoningEffort?: "high" | "low" | "max" | "medium" | "off" | "xhigh" | undefined; profileRepositoryId: string; source: { profileId: string; sourceRevision: string; harnessRelease: { id: string; contentHash: string; }; catalogHash: string; definitionId: string; definitionHash: string; target: { kind: "profile"; } | { kind: "workflow"; workflowId: string; } | { kind: "skill"; skillPath: string; } | { kind: "agent_action"; actionId: string; }; environmentHash: string; externalDatasetBinding?: { schemaVersion: "openpond.profileExternalDatasetBinding.v1"; dataset: { id: string; contentHash: string; revision: number; }; packageHash: string; profileId: string; target: { kind: "profile"; } | { kind: "workflow"; workflowId: string; } | { kind: "skill"; skillPath: string; } | { kind: "agent_action"; actionId: string; }; declaredProfileCatalogHash: string | null; protectedProfileClosureHash: string; recordedOrigin?: { execution: { id: string; contentHash: string; }; originalEvidence: { id: string; contentHash: string; }; members: { caseId: string; seed: string; fixtureId: string; sourceId: string; snapshotHash: string; boundaryRevisionHash: string; }[]; } | undefined; gradingSource?: { pass: { id: string; contentHash: string; }; evidence: { id: string; contentHash: string; }; } | undefined; split: "frozen_eval" | "test" | "train" | "validation"; population: { taskId: string; seed: string; fixtureId: string | null; }[]; evaluators: { release: { id: string; contentHash: string; revision: string | number; }; feedbackKey: string; configurationHash: string; output: "boolean" | "category" | "score"; categories: string[]; }[]; fieldMappingsHash: string; fieldMappings: { graderId: string; fields: { destination: "evaluatorContext" | "expectedOutput" | "input" | "output"; path: string[]; source: "evaluatorContext" | "expectedOutput" | "input" | "output"; sourcePath: string[]; }[]; }[]; environmentHash: string; privateDatasetClosureHash: string; criterion: { minimumPassRate: number; requireComplete: boolean; }; contentHash: string; } | undefined; sourceCandidate?: { candidateId: string; frozenRevision: number; frozenHash: string; harnessRelease: { id: string; contentHash: string; }; protectedClosureHash: string; } | undefined; }; modelConfigurationHash: string; packageHash: string; externalDatasetBinding?: { schemaVersion: "openpond.profileExternalDatasetBinding.v1"; dataset: { id: string; contentHash: string; revision: number; }; packageHash: string; profileId: string; target: { kind: "profile"; } | { kind: "workflow"; workflowId: string; } | { kind: "skill"; skillPath: string; } | { kind: "agent_action"; actionId: string; }; declaredProfileCatalogHash: string | null; protectedProfileClosureHash: string; recordedOrigin?: { execution: { id: string; contentHash: string; }; originalEvidence: { id: string; contentHash: string; }; members: { caseId: string; seed: string; fixtureId: string; sourceId: string; snapshotHash: string; boundaryRevisionHash: string; }[]; } | undefined; gradingSource?: { pass: { id: string; contentHash: string; }; evidence: { id: string; contentHash: string; }; } | undefined; split: "frozen_eval" | "test" | "train" | "validation"; population: { taskId: string; seed: string; fixtureId: string | null; }[]; evaluators: { release: { id: string; contentHash: string; revision: string | number; }; feedbackKey: string; configurationHash: string; output: "boolean" | "category" | "score"; categories: string[]; }[]; fieldMappingsHash: string; fieldMappings: { graderId: string; fields: { destination: "evaluatorContext" | "expectedOutput" | "input" | "output"; path: string[]; source: "evaluatorContext" | "expectedOutput" | "input" | "output"; sourcePath: string[]; }[]; }[]; environmentHash: string; privateDatasetClosureHash: string; criterion: { minimumPassRate: number; requireComplete: boolean; }; contentHash: string; } | undefined; }; population: { receiptId: string; taskId: string; seed: string; fixtureId: string | null; }[]; }; maximumCostUsd: number; graders?: { id: string; version: string; contentHash: string; mappings: { destination: "evaluatorContext" | "expectedOutput" | "input" | "output"; path: string[]; source: "evaluatorContext" | "expectedOutput" | "input" | "output"; sourcePath: string[]; }[]; }[] | undefined; sourceExperimentId?: string | undefined; }; }[]; acceptancePlan: { schemaVersion: "openpond.acceptancePlan.v1"; id: string; revision: number; checks: { id: string; name: string; required: boolean; role?: "diagnostic" | "quality" | "retention" | undefined; unit?: string | undefined; baselineReuse?: { maximumAgeSeconds: number; qualification: { id: string; contentHash: string; }; } | undefined; dataset: { id: string; contentHash: string; }; evaluator: { id: string; contentHash: string; }; executionHash: string; populationHash: string; metric: string; direction: "higher" | "lower"; minimumCoverage: number; threshold: number; maximumRegression: number; maximumSpendUsd: number; }[]; maximumSpendUsd: number; contentHash: string; } | null; }; qualification: { baseline: { id: string; contentHash: string; }; checks: { id: string; sourceRunId: string; sourceManifestHash: string; targetConfigurationHash: string; executionHash: string; populationHash: string; evaluator: { id: string; contentHash: string; }; feedbackKey: string; output: "boolean" | "score"; unit: string; }[]; } | null; contentHash: string; createdAt: string; }>; get(teamId: string, jobId: string): Promise<{ schemaVersion: "openpond.postTrainingSummary.v1"; id: string; teamId: string; jobId: string; revision: number; planHash: string; automatic: boolean; candidate: { id: string; contentHash: string; } | null; state: "blocked" | "budget_exhausted" | "cancelled" | "cleaning" | "completed" | "failed" | "preparing" | "queued" | "ready" | "running" | "waiting_for_training"; total: number; completed: number; failed: number; requiredOutcome: "blocked" | "failed" | "none" | "passed" | "pending"; reason: string | null; groupId: string | null; experimentIds: string[]; updatedAt: string; } | null>; control(teamId: string, jobId: string, action: "start" | "retry" | "cancel", raw: z.input): Promise<{ schemaVersion: "openpond.postTrainingSummary.v1"; id: string; teamId: string; jobId: string; revision: number; planHash: string; automatic: boolean; candidate: { id: string; contentHash: string; } | null; state: "blocked" | "budget_exhausted" | "cancelled" | "cleaning" | "completed" | "failed" | "preparing" | "queued" | "ready" | "running" | "waiting_for_training"; total: number; completed: number; failed: number; requiredOutcome: "blocked" | "failed" | "none" | "passed" | "pending"; reason: string | null; groupId: string | null; experimentIds: string[]; updatedAt: string; }>; }; export declare const HostedTrainingSetupCatalogSchema: z.ZodObject<{ teamId: z.ZodString; actorId: z.ZodString; projectId: z.ZodNullable; configuration: z.ZodObject<{ id: z.ZodString; teamId: z.ZodString; portableProjectId: z.ZodString; name: z.ZodString; objective: z.ZodNullable; defaultBaseModel: z.ZodNullable; modelId: z.ZodString; revision: z.ZodNullable; tokenizerRevision: z.ZodNullable; chatTemplateHash: z.ZodNullable; modelAssetId: z.ZodNullable; source: z.ZodEnum<{ builtin: "builtin"; local: "local"; managed: "managed"; }>; }, z.core.$strict>>; defaultDestinationId: z.ZodNullable; trainingSetup: z.ZodObject<{ tasksetRef: z.ZodDefault>>; evaluationTasksetRef: z.ZodOptional>>; profileSource: z.ZodOptional; }, z.core.$strict>>>; profileEvaluation: z.ZodOptional; tasksetRelease: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; }, z.core.$strict>>>; rewardBindingRef: z.ZodOptional>>; tasksetRelease: z.ZodDefault>>; harnessRelease: z.ZodDefault>>; baseModel: z.ZodDefault; modelId: z.ZodString; revision: z.ZodNullable; tokenizerRevision: z.ZodNullable; chatTemplateHash: z.ZodNullable; modelAssetId: z.ZodNullable; source: z.ZodEnum<{ builtin: "builtin"; local: "local"; managed: "managed"; }>; }, z.core.$strict>>>; method: z.ZodDefault>>; destinationId: z.ZodDefault>; managedRolloutPlacement: z.ZodDefault>; managedGpuPlacementObjective: z.ZodDefault>; managedGpuSelection: z.ZodOptional; objective: z.ZodEnum<{ balanced: "balanced"; economical: "economical"; fast: "fast"; }>; gpuCount: z.ZodOptional, z.ZodLiteral<2>]>>; }, z.core.$strict>, z.ZodObject<{ mode: z.ZodLiteral<"manual">; availabilityId: z.ZodString; gpuType: z.ZodString; gpuCount: z.ZodOptional, z.ZodLiteral<2>]>>; }, z.core.$strict>], "mode">>; continuationAdapterMode: z.ZodOptional>; managedGpuRequirement: z.ZodDefault>; runPreset: z.ZodDefault>>; recipe: z.ZodDefault; parameterization: z.ZodEnum<{ full: "full"; lora: "lora"; }>; }, z.core.$catchall>>>; preferredMaximumSpendUsd: z.ZodDefault>; preferredRetentionDays: z.ZodDefault>; }, z.core.$strict>; sourceRevision: z.ZodNumber; sourceUpdatedAt: z.ZodString; revision: z.ZodNumber; etag: z.ZodString; createdAt: z.ZodString; updatedAt: z.ZodString; }, z.core.$strict>; batches: z.ZodArray; id: z.ZodString; revision: z.ZodLiteral<1>; taskDefinition: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; revision: z.ZodNumber; }, z.core.$strict>; rewardBinding: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; revision: z.ZodNumber; }, z.core.$strict>; purpose: z.ZodEnum<{ evaluation: "evaluation"; reward_training: "reward_training"; supervised_training: "supervised_training"; }>; examples: z.ZodArray; decision: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; revision: z.ZodNumber; }, z.core.$strict>; familyKey: z.ZodString; inputHash: z.ZodString; split: z.ZodEnum<{ frozen_eval: "frozen_eval"; test: "test"; train: "train"; validation: "validation"; }>; }, z.core.$strict>>; sealedAt: z.ZodString; sealedBy: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>>; sources: z.ZodArray; id: z.ZodString; revision: z.ZodNumber; name: z.ZodString; kind: z.ZodEnum<{ benchmark: "benchmark"; direct: "direct"; opentelemetry: "opentelemetry"; provider: "provider"; work: "work"; }>; taskDefinition: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; revision: z.ZodNumber; }, z.core.$strict>; enabled: z.ZodBoolean; allowedSplits: z.ZodArray>; mapping: z.ZodNullable; exampleId: z.ZodString; attemptId: z.ZodString; occurredAt: z.ZodString; input: z.ZodString; observedOutput: z.ZodNullable; expected: z.ZodNullable; evaluatorContext: z.ZodNullable; familyKey: z.ZodString; split: z.ZodEnum<{ frozen_eval: "frozen_eval"; test: "test"; train: "train"; validation: "validation"; }>; }, z.core.$strict>>; adapterVersion: z.ZodNullable; reviewOrigin: z.ZodOptional; batch: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; revision: z.ZodNumber; }, z.core.$strict>; rewardBinding: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; revision: z.ZodNumber; }, z.core.$strict>; }, z.core.$strict>>; capturedOrigin: z.ZodOptional; }, z.core.$strict>>; contentHash: z.ZodString; }, z.core.$strict>>; definitions: z.ZodArray; id: z.ZodString; revision: z.ZodNumber; name: z.ZodString; description: z.ZodString; instructions: z.ZodString; category: z.ZodEnum<{ coding: "coding"; custom: "custom"; question_answering: "question_answering"; structured: "structured"; tool_workflow: "tool_workflow"; }>; familyNamespace: z.ZodString; inputSchema: z.ZodRecord; outputSchema: z.ZodRecord; requiredOutputs: z.ZodOptional; }, z.core.$strict>>>; submissionMode: z.ZodOptional>; maxBytes: z.ZodDefault>; metadata: z.ZodDefault>; }, z.core.$strict>>>; contextRequirements: z.ZodOptional>; rewardBinding: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; revision: z.ZodNumber; }, z.core.$strict>; harness: z.ZodNullable>; execution: z.ZodObject<{ policy: z.ZodObject<{ policyVisibleFields: z.ZodDefault>; privilegedFields: z.ZodDefault>; hiddenGraderRefs: z.ZodDefault>; connectedAppScopes: z.ZodDefault>; }, z.core.$strict>; environment: z.ZodObject<{ protocolVersion: z.ZodLiteral<"openpond.environment.v1">; kind: z.ZodEnum<{ agent: "agent"; custom_program: "custom_program"; text: "text"; work: "work"; }>; entrypoint: z.ZodString; stateful: z.ZodBoolean; deterministicSeeds: z.ZodBoolean; lifecycle: z.ZodArray>; networkPolicy: z.ZodEnum<{ declared_read_only: "declared_read_only"; declared_scoped: "declared_scoped"; none: "none"; }>; defaultTimeoutMs: z.ZodNumber; }, z.core.$strict>; environmentRelease: z.ZodOptional>; tools: z.ZodArray; inputSchemaHash: z.ZodString; sideEffect: z.ZodEnum<{ read: "read"; write: "write"; }>; timeoutMs: z.ZodNumber; }, z.core.$strict>>; capabilities: z.ZodArray>; portability: z.ZodEnum<{ host_adapter: "host_adapter"; hosted_only: "hosted_only"; local_only: "local_only"; portable: "portable"; }>; }, z.core.$strict>>; verifierSetRelease: z.ZodOptional>; }, z.core.$strict>; contentHash: z.ZodString; }, z.core.$strict>>; experiments: z.ZodArray; operationId: z.ZodString; teamId: z.ZodString; modelProjectId: z.ZodNullable; name: z.ZodOptional; project: z.ZodOptional; }, z.core.$strict>>; taskset: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; revision: z.ZodNumber; }, z.core.$strict>; policy: z.ZodDiscriminatedUnion<[z.ZodObject<{ kind: z.ZodLiteral<"hosted_chat">; modelId: z.ZodString; localRuntime: z.ZodOptional; configurationHash: z.ZodString; maximumRequestCostUsd: z.ZodNumber; requestTimeoutMs: z.ZodNumber; }, z.core.$strict>, z.ZodObject<{ providerId: z.ZodLiteral<"claude-code">; configurationHash: z.ZodString; executableHash: z.ZodString; version: z.ZodString; capabilityHash: z.ZodString; maximumRequestCostUsd: z.ZodNumber; requestTimeoutMs: z.ZodNumber; maximumTurns: z.ZodNumber; holdOpen: z.ZodBoolean; }, z.core.$strict>, z.ZodObject<{ providerId: z.ZodLiteral<"codex">; configurationHash: z.ZodString; accountHash: z.ZodString; reasoningEffort: z.ZodEnum<{ high: "high"; low: "low"; medium: "medium"; xhigh: "xhigh"; }>; maximumRequestCostUsd: z.ZodNumber; requestTimeoutMs: z.ZodNumber; }, z.core.$strict>]>>; candidate: z.ZodOptional>; harness: z.ZodOptional; agentSnapshot: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; sourcePackageHash: z.ZodString; }, z.core.$strict>>; messages: z.ZodOptional; content: z.ZodString; }, z.core.$strict>>>; maxOutputTokens: z.ZodDefault; temperature: z.ZodDefault; topP: z.ZodDefault; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"fixture">; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"hosted_harness">; modelId: z.ZodString; maxOutputTokens: z.ZodOptional; temperature: z.ZodOptional; topP: z.ZodOptional; localRuntime: z.ZodOptional; configurationHash: z.ZodString; accountHash: z.ZodString; reasoningEffort: z.ZodEnum<{ high: "high"; low: "low"; medium: "medium"; xhigh: "xhigh"; }>; maximumRequestCostUsd: z.ZodNumber; requestTimeoutMs: z.ZodNumber; }, z.core.$strict>>; candidate: z.ZodOptional>; sourceCandidate: z.ZodOptional; protectedClosureHash: z.ZodString; }, z.core.$strict>>; reasoningEffort: z.ZodOptional>; profileRepositoryId: z.ZodString; source: z.ZodObject<{ profileId: z.ZodString; sourceRevision: z.ZodString; harnessRelease: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; catalogHash: z.ZodString; definitionId: z.ZodString; definitionHash: z.ZodString; target: z.ZodDiscriminatedUnion<[z.ZodObject<{ kind: z.ZodLiteral<"profile">; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"workflow">; workflowId: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"skill">; skillPath: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"agent_action">; actionId: z.ZodString; }, z.core.$strict>], "kind">; environmentHash: z.ZodString; externalDatasetBinding: z.ZodOptional; dataset: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; revision: z.ZodNumber; }, z.core.$strict>; packageHash: z.ZodString; profileId: z.ZodString; target: z.ZodDiscriminatedUnion<[z.ZodObject<{ kind: z.ZodLiteral<"profile">; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"workflow">; workflowId: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"skill">; skillPath: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"agent_action">; actionId: z.ZodString; }, z.core.$strict>], "kind">; declaredProfileCatalogHash: z.ZodNullable; protectedProfileClosureHash: z.ZodString; recordedOrigin: z.ZodOptional; originalEvidence: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; members: z.ZodArray>; }, z.core.$strict>>; gradingSource: z.ZodOptional; evidence: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; }, z.core.$strict>>; split: z.ZodEnum<{ frozen_eval: "frozen_eval"; test: "test"; train: "train"; validation: "validation"; }>; population: z.ZodArray; }, z.core.$strict>>; evaluators: z.ZodArray; }, z.core.$strict>; feedbackKey: z.ZodString; configurationHash: z.ZodString; output: z.ZodEnum<{ boolean: "boolean"; category: "category"; score: "score"; }>; categories: z.ZodArray; }, z.core.$strict>>; fieldMappingsHash: z.ZodString; fieldMappings: z.ZodArray; path: z.ZodArray; source: z.ZodEnum<{ evaluatorContext: "evaluatorContext"; expectedOutput: "expectedOutput"; input: "input"; output: "output"; }>; sourcePath: z.ZodArray; }, z.core.$strict>>; }, z.core.$strict>>; environmentHash: z.ZodString; privateDatasetClosureHash: z.ZodString; criterion: z.ZodObject<{ minimumPassRate: z.ZodNumber; requireComplete: z.ZodBoolean; }, z.core.$strict>; contentHash: z.ZodString; }, z.core.$strict>>; sourceCandidate: z.ZodOptional; protectedClosureHash: z.ZodString; }, z.core.$strict>>; }, z.core.$strict>; modelConfigurationHash: z.ZodString; packageHash: z.ZodString; externalDatasetBinding: z.ZodOptional; dataset: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; revision: z.ZodNumber; }, z.core.$strict>; packageHash: z.ZodString; profileId: z.ZodString; target: z.ZodDiscriminatedUnion<[z.ZodObject<{ kind: z.ZodLiteral<"profile">; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"workflow">; workflowId: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"skill">; skillPath: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"agent_action">; actionId: z.ZodString; }, z.core.$strict>], "kind">; declaredProfileCatalogHash: z.ZodNullable; protectedProfileClosureHash: z.ZodString; recordedOrigin: z.ZodOptional; originalEvidence: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; members: z.ZodArray>; }, z.core.$strict>>; gradingSource: z.ZodOptional; evidence: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; }, z.core.$strict>>; split: z.ZodEnum<{ frozen_eval: "frozen_eval"; test: "test"; train: "train"; validation: "validation"; }>; population: z.ZodArray; }, z.core.$strict>>; evaluators: z.ZodArray; }, z.core.$strict>; feedbackKey: z.ZodString; configurationHash: z.ZodString; output: z.ZodEnum<{ boolean: "boolean"; category: "category"; score: "score"; }>; categories: z.ZodArray; }, z.core.$strict>>; fieldMappingsHash: z.ZodString; fieldMappings: z.ZodArray; path: z.ZodArray; source: z.ZodEnum<{ evaluatorContext: "evaluatorContext"; expectedOutput: "expectedOutput"; input: "input"; output: "output"; }>; sourcePath: z.ZodArray; }, z.core.$strict>>; }, z.core.$strict>>; environmentHash: z.ZodString; privateDatasetClosureHash: z.ZodString; criterion: z.ZodObject<{ minimumPassRate: z.ZodNumber; requireComplete: z.ZodBoolean; }, z.core.$strict>; contentHash: z.ZodString; }, z.core.$strict>>; }, z.core.$strict>], "kind">; population: z.ZodArray; }, z.core.$strict>>; }, z.core.$strict>; maximumCostUsd: z.ZodNumber; graders: z.ZodOptional; path: z.ZodArray; source: z.ZodEnum<{ evaluatorContext: "evaluatorContext"; expectedOutput: "expectedOutput"; input: "input"; output: "output"; }>; sourcePath: z.ZodArray; }, z.core.$strict>>; }, z.core.$strict>>>; sourceExperimentId: z.ZodOptional; }, z.core.$strict>; graders: z.ZodArray; }, z.core.$strict>>; }, z.core.$strict>>; }, z.core.$strict>; export type HostedTrainingSetupCatalog = z.infer; export declare const HostedTrainingSetupActionSchema: z.ZodEnum<{ attach: "attach"; cancel: "cancel"; prepare: "prepare"; publish: "publish"; start: "start"; }>; export type HostedTrainingSetupAction = z.infer; export declare const HostedTrainingPolicyDetailSchema: z.ZodObject<{ teamId: z.ZodString; actorId: z.ZodString; configuration: z.ZodObject<{ id: z.ZodString; teamId: z.ZodString; portableProjectId: z.ZodString; name: z.ZodString; objective: z.ZodNullable; defaultBaseModel: z.ZodNullable; modelId: z.ZodString; revision: z.ZodNullable; tokenizerRevision: z.ZodNullable; chatTemplateHash: z.ZodNullable; modelAssetId: z.ZodNullable; source: z.ZodEnum<{ builtin: "builtin"; local: "local"; managed: "managed"; }>; }, z.core.$strict>>; defaultDestinationId: z.ZodNullable; trainingSetup: z.ZodObject<{ tasksetRef: z.ZodDefault>>; evaluationTasksetRef: z.ZodOptional>>; profileSource: z.ZodOptional; }, z.core.$strict>>>; profileEvaluation: z.ZodOptional; tasksetRelease: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; }, z.core.$strict>>>; rewardBindingRef: z.ZodOptional>>; tasksetRelease: z.ZodDefault>>; harnessRelease: z.ZodDefault>>; baseModel: z.ZodDefault; modelId: z.ZodString; revision: z.ZodNullable; tokenizerRevision: z.ZodNullable; chatTemplateHash: z.ZodNullable; modelAssetId: z.ZodNullable; source: z.ZodEnum<{ builtin: "builtin"; local: "local"; managed: "managed"; }>; }, z.core.$strict>>>; method: z.ZodDefault>>; destinationId: z.ZodDefault>; managedRolloutPlacement: z.ZodDefault>; managedGpuPlacementObjective: z.ZodDefault>; managedGpuSelection: z.ZodOptional; objective: z.ZodEnum<{ balanced: "balanced"; economical: "economical"; fast: "fast"; }>; gpuCount: z.ZodOptional, z.ZodLiteral<2>]>>; }, z.core.$strict>, z.ZodObject<{ mode: z.ZodLiteral<"manual">; availabilityId: z.ZodString; gpuType: z.ZodString; gpuCount: z.ZodOptional, z.ZodLiteral<2>]>>; }, z.core.$strict>], "mode">>; continuationAdapterMode: z.ZodOptional>; managedGpuRequirement: z.ZodDefault>; runPreset: z.ZodDefault>>; recipe: z.ZodDefault; parameterization: z.ZodEnum<{ full: "full"; lora: "lora"; }>; }, z.core.$catchall>>>; preferredMaximumSpendUsd: z.ZodDefault>; preferredRetentionDays: z.ZodDefault>; }, z.core.$strict>; sourceRevision: z.ZodNumber; sourceUpdatedAt: z.ZodString; revision: z.ZodNumber; etag: z.ZodString; createdAt: z.ZodString; updatedAt: z.ZodString; }, z.core.$strict>; policy: z.ZodObject<{ origin: z.ZodOptional; teamId: z.ZodString; projectId: z.ZodNullable; configurationId: z.ZodString; source: z.ZodObject<{ executionId: z.ZodString; passId: z.ZodNullable; manifestHash: z.ZodString; resultHash: z.ZodString; }, z.core.$strict>; dataset: z.ZodObject<{ id: z.ZodString; revision: z.ZodNumber; contentHash: z.ZodString; }, z.core.$strict>; target: z.ZodDiscriminatedUnion<[z.ZodObject<{ kind: z.ZodLiteral<"model">; modelId: z.ZodString; configurationHash: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"harness">; source: z.ZodObject<{ profileId: z.ZodString; sourceRevision: z.ZodString; harnessRelease: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; catalogHash: z.ZodString; definitionId: z.ZodString; definitionHash: z.ZodString; target: z.ZodDiscriminatedUnion<[z.ZodObject<{ kind: z.ZodLiteral<"profile">; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"workflow">; workflowId: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"skill">; skillPath: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"agent_action">; actionId: z.ZodString; }, z.core.$strict>], "kind">; environmentHash: z.ZodString; externalDatasetBinding: z.ZodOptional; dataset: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; revision: z.ZodNumber; }, z.core.$strict>; packageHash: z.ZodString; profileId: z.ZodString; target: z.ZodDiscriminatedUnion<[z.ZodObject<{ kind: z.ZodLiteral<"profile">; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"workflow">; workflowId: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"skill">; skillPath: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"agent_action">; actionId: z.ZodString; }, z.core.$strict>], "kind">; declaredProfileCatalogHash: z.ZodNullable; protectedProfileClosureHash: z.ZodString; recordedOrigin: z.ZodOptional; originalEvidence: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; members: z.ZodArray>; }, z.core.$strict>>; gradingSource: z.ZodOptional; evidence: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; }, z.core.$strict>>; split: z.ZodEnum<{ frozen_eval: "frozen_eval"; test: "test"; train: "train"; validation: "validation"; }>; population: z.ZodArray; }, z.core.$strict>>; evaluators: z.ZodArray; }, z.core.$strict>; feedbackKey: z.ZodString; configurationHash: z.ZodString; output: z.ZodEnum<{ boolean: "boolean"; category: "category"; score: "score"; }>; categories: z.ZodArray; }, z.core.$strict>>; fieldMappingsHash: z.ZodString; fieldMappings: z.ZodArray; path: z.ZodArray; source: z.ZodEnum<{ evaluatorContext: "evaluatorContext"; expectedOutput: "expectedOutput"; input: "input"; output: "output"; }>; sourcePath: z.ZodArray; }, z.core.$strict>>; }, z.core.$strict>>; environmentHash: z.ZodString; privateDatasetClosureHash: z.ZodString; criterion: z.ZodObject<{ minimumPassRate: z.ZodNumber; requireComplete: z.ZodBoolean; }, z.core.$strict>; contentHash: z.ZodString; }, z.core.$strict>>; sourceCandidate: z.ZodOptional; protectedClosureHash: z.ZodString; }, z.core.$strict>>; }, z.core.$strict>; model: z.ZodObject<{ modelId: z.ZodString; configurationHash: z.ZodString; }, z.core.$strict>; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"agent">; source: z.ZodObject<{ harnessRelease: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; agentSnapshot: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; sourcePackageHash: z.ZodString; }, z.core.$strict>; model: z.ZodObject<{ modelId: z.ZodString; configurationHash: z.ZodString; }, z.core.$strict>; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"fixture">; configurationHash: z.ZodString; }, z.core.$strict>], "kind">; graders: z.ZodArray; expectedCount: z.ZodNumber; scoredCount: z.ZodNumber; score: z.ZodNullable; }, z.core.$strict>>; contentHash: z.ZodString; }, z.core.$strict>>; schemaVersion: z.ZodLiteral<"openpond.learningPolicy.v1">; id: z.ZodString; revision: z.ZodNumber; modelProjectId: z.ZodString; executionOwner: z.ZodEnum<{ hosted: "hosted"; local: "local"; }>; enabled: z.ZodBoolean; sources: z.ZodArray>; taskDefinition: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; revision: z.ZodNumber; }, z.core.$strict>; rewardBinding: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; revision: z.ZodNumber; }, z.core.$strict>; admission: z.ZodObject<{ mode: z.ZodEnum<{ human: "human"; qualified_automatic: "qualified_automatic"; }>; qualification: z.ZodNullable>; minimumApprovedExamples: z.ZodNumber; }, z.core.$strict>; trigger: z.ZodDiscriminatedUnion<[z.ZodObject<{ kind: z.ZodLiteral<"manual">; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"approved_count">; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"schedule">; intervalSeconds: z.ZodNumber; }, z.core.$strict>, z.ZodObject<{ localTime: z.ZodString; timeZone: z.ZodString; kind: z.ZodLiteral<"nightly">; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"upstream_accepted">; modelProjectId: z.ZodString; }, z.core.$strict>], "kind">; trainingParent: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; teacher: z.ZodNullable>; training: z.ZodObject<{ method: z.ZodEnum<{ dpo: "dpo"; grpo: "grpo"; opd: "opd"; opsd: "opsd"; ppo: "ppo"; sdft: "sdft"; sdpo: "sdpo"; sft: "sft"; }>; recipe: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; retentionEvaluation: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; replayBatches: z.ZodArray>; continuationMode: z.ZodOptional; sourceConfiguration: z.ZodObject<{ id: z.ZodString; revision: z.ZodNumber; etag: z.ZodString; }, z.core.$strict>; }, z.core.$strict>>; }, z.core.$strict>; limits: z.ZodObject<{ maxIterationSpendUsd: z.ZodNumber; maxDailySpendUsd: z.ZodNumber; cooldownSeconds: z.ZodNumber; maxRetries: z.ZodNumber; maxBatchExamples: z.ZodNumber; maxBacklogExamples: z.ZodNumber; }, z.core.$strict>; automation: z.ZodObject<{ collect: z.ZodBoolean; train: z.ZodBoolean; accept: z.ZodBoolean; serve: z.ZodBoolean; }, z.core.$strict>; acceptance: z.ZodObject<{ minimumScore: z.ZodNumber; maximumRetentionRegression: z.ZodNumber; requireImprovement: z.ZodBoolean; rollbackVersion: z.ZodNullable>; }, z.core.$strict>; contentHash: z.ZodString; }, z.core.$strict>; inspection: z.ZodObject<{ policy: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; revision: z.ZodNumber; }, z.core.$strict>; modelProjectId: z.ZodString; inspectedAt: z.ZodString; chain: z.ZodNullable; id: z.ZodString; revision: z.ZodNumber; modelProjectId: z.ZodString; activeIterationId: z.ZodNullable; acceptedParent: z.ZodOptional; decision: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; revision: z.ZodNumber; }, z.core.$strict>; decidedAt: z.ZodString; }, z.core.$strict>>>; latestIterationId: z.ZodString; lastReservedAt: z.ZodNullable; updatedAt: z.ZodString; }, z.core.$strict>>; trainingParent: z.ZodDefault; selection: z.ZodNullable; decision: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; revision: z.ZodNumber; }, z.core.$strict>; decidedAt: z.ZodString; }, z.core.$strict>>; }, z.core.$strict>>>; counts: z.ZodNullable>; minimumApprovedExamples: z.ZodNumber; canReserve: z.ZodBoolean; blockers: z.ZodArray>; cooldownUntil: z.ZodNullable; budget: z.ZodObject<{ reservedSpendUsd: z.ZodNumber; settledSpendUsd: z.ZodNumber; committedSpendUsd: z.ZodNumber; maximumIterationSpendUsd: z.ZodNumber; maximumDailySpendUsd: z.ZodNumber; }, z.core.$strict>; }, z.core.$strict>; iterations: z.ZodArray; id: z.ZodString; revision: z.ZodNumber; policy: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; revision: z.ZodNumber; }, z.core.$strict>; status: z.ZodEnum<{ accepted: "accepted"; cancelled: "cancelled"; cancelling: "cancelling"; candidate_ready: "candidate_ready"; completed_without_candidate: "completed_without_candidate"; dispatching: "dispatching"; evaluating: "evaluating"; failed: "failed"; paused: "paused"; ready: "ready"; rejected: "rejected"; training: "training"; waiting_for_data: "waiting_for_data"; waiting_for_review: "waiting_for_review"; }>; triggerIdentity: z.ZodString; batch: z.ZodNullable>; sourceWatermarks: z.ZodRecord; trainingParent: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; trainingParentSelection: z.ZodOptional; decision: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; revision: z.ZodNumber; }, z.core.$strict>; decidedAt: z.ZodString; }, z.core.$strict>>>; teacher: z.ZodNullable>; upstreamEvent: z.ZodNullable>; trainingJob: z.ZodNullable>; evaluationJob: z.ZodNullable>; candidateVersion: z.ZodNullable>; candidateDecision: z.ZodDefault>>; candidateDecisionAt: z.ZodOptional>; dispatchId: z.ZodString; retryCount: z.ZodNumber; spendUsd: z.ZodNumber; failure: z.ZodNullable>; createdAt: z.ZodString; updatedAt: z.ZodString; }, z.core.$strict>; evals: z.ZodNullable; id: z.ZodString; teamId: z.ZodString; jobId: z.ZodString; revision: z.ZodNumber; planHash: z.ZodString; automatic: z.ZodBoolean; candidate: z.ZodNullable>; state: z.ZodEnum<{ blocked: "blocked"; budget_exhausted: "budget_exhausted"; cancelled: "cancelled"; cleaning: "cleaning"; completed: "completed"; failed: "failed"; preparing: "preparing"; queued: "queued"; ready: "ready"; running: "running"; waiting_for_training: "waiting_for_training"; }>; total: z.ZodNumber; completed: z.ZodNumber; failed: z.ZodNumber; requiredOutcome: z.ZodEnum<{ blocked: "blocked"; failed: "failed"; none: "none"; passed: "passed"; pending: "pending"; }>; reason: z.ZodNullable; groupId: z.ZodNullable; experimentIds: z.ZodArray; updatedAt: z.ZodISODateTime; }, z.core.$strict>>; }, z.core.$strict>>; nextCursor: z.ZodNullable; }, z.core.$strict>; export declare const HostedTrainingPolicyControlSchema: z.ZodObject<{ id: z.ZodString; expectedRevision: z.ZodNumber; policyHash: z.ZodString; operationId: z.ZodString; action: z.ZodEnum<{ "cancel-iteration": "cancel-iteration"; pause: "pause"; reserve: "reserve"; resume: "resume"; "retry-iteration": "retry-iteration"; }>; iterationId: z.ZodOptional; iterationRevision: z.ZodOptional; }, z.core.$strict>; export type HostedTrainingPolicyControl = z.infer; //# sourceMappingURL=post-training.d.ts.map