import { type TasksetPackage } from "./taskset-package-contracts.js"; import { type HarnessPolicySourcePackage, type HarnessSourcePackage, type ImmutableReleaseRef, type VersionedReleaseRef } from "@openpond/harness"; import { type LearningTextAsset } from "@openpond/evals/learning"; import { type ComputeTargetBinding, type HarnessRunManifest, type HarnessRuntimeTargetBinding, type OpaqueSecretLeaseRef, type ResolvedTrainingBundleManifest, type TrainingEngineBinding } from "./training-bundle-contracts.js"; import type { ModelProject } from "./model-projects.js"; import type { Taskset } from "./taskset-authored-contracts.js"; import { type TasksetRewardExecution } from "./taskset-authored-portable-release.js"; import { type TrainingEvaluationSource } from "./training-evaluation-source.js"; export * from "./training-bundle-contracts.js"; export { materializeLearningBatchTaskset, prepareReviewedLearningBatch } from "./training-learning-batch.js"; export { prepareManagedTrainingSubmission, type ManagedTrainingPreparationInput, type TrainingPreparationFile } from "./managed-training-preparation.js"; export { scanAndRedactEvidence, type EvidencePrivacyScan } from "./training-privacy.js"; export type TasksetTrainingBundle = { manifest: HarnessRunManifest; resolvedBundleManifest: ResolvedTrainingBundleManifest; assets: ReadonlyMap; profileRelease: VersionedReleaseRef; harnessRelease: ImmutableReleaseRef; tasksetRelease: ImmutableReleaseRef; datasetRelease: ImmutableReleaseRef; evidenceSetRelease: ImmutableReleaseRef | null; }; /** * Produces the one artifact the training worker consumes. The release refs in * the manifest are immutable lineage identifiers, not separately materialized * release objects. */ export declare function buildTasksetTrainingBundle(input: { taskset: Taskset; executionMode?: "qualification"; qualificationSource?: TasksetPackage; qualificationTaskId?: string; qualificationSamples?: number; modelProject: ModelProject; modelRunId: string; runtime: HarnessRuntimeTargetBinding; compute: ComputeTargetBinding; engine: TrainingEngineBinding; approval: { approvalHash: string; approvedAt: string; maximumSpendUsd: number | null; }; secretLeaseRefs?: OpaqueSecretLeaseRef[]; openpondRelease: string; workerProtocol: string; harnessRelease: ImmutableReleaseRef; tasksetRelease: ImmutableReleaseRef; harnessSource?: HarnessSourcePackage | HarnessPolicySourcePackage | null; tasksetAssetBytes?: ReadonlyMap; rewardExecution?: TasksetRewardExecution; verifierAssets?: LearningTextAsset[]; evaluationSource?: TrainingEvaluationSource; }): TasksetTrainingBundle; export { withAuthoritativeRecipeHashes, AdamwOptimizerConfigSchema } from "./training-recipe-binding.js"; export { createPolicyHarnessContext } from "./training-policy-harness.js"; export { prepareOrdinaryTasksetQualification, type OrdinaryTasksetQualificationInput } from "./training-qualification-preparation.js"; //# sourceMappingURL=training-bundle.d.ts.map