import * as z from "zod"; import { ClosedEnum } from "../../types/enums.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { CheckpointOut, CheckpointOut$Outbound } from "./checkpointout.js"; import { ClassifierTargetOut, ClassifierTargetOut$Outbound } from "./classifiertargetout.js"; import { ClassifierTrainingParameters, ClassifierTrainingParameters$Outbound } from "./classifiertrainingparameters.js"; import { EventOut, EventOut$Outbound } from "./eventout.js"; import { JobMetadataOut, JobMetadataOut$Outbound } from "./jobmetadataout.js"; import { WandbIntegrationOut, WandbIntegrationOut$Outbound } from "./wandbintegrationout.js"; export declare const ClassifierDetailedJobOutStatus: { readonly Queued: "QUEUED"; readonly Started: "STARTED"; readonly Validating: "VALIDATING"; readonly Validated: "VALIDATED"; readonly Running: "RUNNING"; readonly FailedValidation: "FAILED_VALIDATION"; readonly Failed: "FAILED"; readonly Success: "SUCCESS"; readonly Cancelled: "CANCELLED"; readonly CancellationRequested: "CANCELLATION_REQUESTED"; }; export type ClassifierDetailedJobOutStatus = ClosedEnum; export declare const ClassifierDetailedJobOutObject: { readonly Job: "job"; }; export type ClassifierDetailedJobOutObject = ClosedEnum; export type ClassifierDetailedJobOutIntegrations = WandbIntegrationOut; export declare const ClassifierDetailedJobOutJobType: { readonly Classifier: "classifier"; }; export type ClassifierDetailedJobOutJobType = ClosedEnum; export type ClassifierDetailedJobOut = { id: string; autoStart: boolean; /** * The name of the model to fine-tune. */ model: string; status: ClassifierDetailedJobOutStatus; createdAt: number; modifiedAt: number; trainingFiles: Array; validationFiles?: Array | null | undefined; object?: ClassifierDetailedJobOutObject | undefined; fineTunedModel?: string | null | undefined; suffix?: string | null | undefined; integrations?: Array | null | undefined; trainedTokens?: number | null | undefined; metadata?: JobMetadataOut | null | undefined; jobType?: ClassifierDetailedJobOutJobType | undefined; hyperparameters: ClassifierTrainingParameters; /** * Event items are created every time the status of a fine-tuning job changes. The timestamped list of all events is accessible here. */ events?: Array | undefined; checkpoints?: Array | undefined; classifierTargets: Array; }; /** @internal */ export declare const ClassifierDetailedJobOutStatus$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const ClassifierDetailedJobOutStatus$outboundSchema: z.ZodNativeEnum; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace ClassifierDetailedJobOutStatus$ { /** @deprecated use `ClassifierDetailedJobOutStatus$inboundSchema` instead. */ const inboundSchema: z.ZodNativeEnum<{ readonly Queued: "QUEUED"; readonly Started: "STARTED"; readonly Validating: "VALIDATING"; readonly Validated: "VALIDATED"; readonly Running: "RUNNING"; readonly FailedValidation: "FAILED_VALIDATION"; readonly Failed: "FAILED"; readonly Success: "SUCCESS"; readonly Cancelled: "CANCELLED"; readonly CancellationRequested: "CANCELLATION_REQUESTED"; }>; /** @deprecated use `ClassifierDetailedJobOutStatus$outboundSchema` instead. */ const outboundSchema: z.ZodNativeEnum<{ readonly Queued: "QUEUED"; readonly Started: "STARTED"; readonly Validating: "VALIDATING"; readonly Validated: "VALIDATED"; readonly Running: "RUNNING"; readonly FailedValidation: "FAILED_VALIDATION"; readonly Failed: "FAILED"; readonly Success: "SUCCESS"; readonly Cancelled: "CANCELLED"; readonly CancellationRequested: "CANCELLATION_REQUESTED"; }>; } /** @internal */ export declare const ClassifierDetailedJobOutObject$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const ClassifierDetailedJobOutObject$outboundSchema: z.ZodNativeEnum; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace ClassifierDetailedJobOutObject$ { /** @deprecated use `ClassifierDetailedJobOutObject$inboundSchema` instead. */ const inboundSchema: z.ZodNativeEnum<{ readonly Job: "job"; }>; /** @deprecated use `ClassifierDetailedJobOutObject$outboundSchema` instead. */ const outboundSchema: z.ZodNativeEnum<{ readonly Job: "job"; }>; } /** @internal */ export declare const ClassifierDetailedJobOutIntegrations$inboundSchema: z.ZodType; /** @internal */ export type ClassifierDetailedJobOutIntegrations$Outbound = WandbIntegrationOut$Outbound; /** @internal */ export declare const ClassifierDetailedJobOutIntegrations$outboundSchema: z.ZodType; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace ClassifierDetailedJobOutIntegrations$ { /** @deprecated use `ClassifierDetailedJobOutIntegrations$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `ClassifierDetailedJobOutIntegrations$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `ClassifierDetailedJobOutIntegrations$Outbound` instead. */ type Outbound = ClassifierDetailedJobOutIntegrations$Outbound; } export declare function classifierDetailedJobOutIntegrationsToJSON(classifierDetailedJobOutIntegrations: ClassifierDetailedJobOutIntegrations): string; export declare function classifierDetailedJobOutIntegrationsFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const ClassifierDetailedJobOutJobType$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const ClassifierDetailedJobOutJobType$outboundSchema: z.ZodNativeEnum; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace ClassifierDetailedJobOutJobType$ { /** @deprecated use `ClassifierDetailedJobOutJobType$inboundSchema` instead. */ const inboundSchema: z.ZodNativeEnum<{ readonly Classifier: "classifier"; }>; /** @deprecated use `ClassifierDetailedJobOutJobType$outboundSchema` instead. */ const outboundSchema: z.ZodNativeEnum<{ readonly Classifier: "classifier"; }>; } /** @internal */ export declare const ClassifierDetailedJobOut$inboundSchema: z.ZodType; /** @internal */ export type ClassifierDetailedJobOut$Outbound = { id: string; auto_start: boolean; model: string; status: string; created_at: number; modified_at: number; training_files: Array; validation_files?: Array | null | undefined; object: string; fine_tuned_model?: string | null | undefined; suffix?: string | null | undefined; integrations?: Array | null | undefined; trained_tokens?: number | null | undefined; metadata?: JobMetadataOut$Outbound | null | undefined; job_type: string; hyperparameters: ClassifierTrainingParameters$Outbound; events?: Array | undefined; checkpoints?: Array | undefined; classifier_targets: Array; }; /** @internal */ export declare const ClassifierDetailedJobOut$outboundSchema: z.ZodType; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace ClassifierDetailedJobOut$ { /** @deprecated use `ClassifierDetailedJobOut$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `ClassifierDetailedJobOut$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `ClassifierDetailedJobOut$Outbound` instead. */ type Outbound = ClassifierDetailedJobOut$Outbound; } export declare function classifierDetailedJobOutToJSON(classifierDetailedJobOut: ClassifierDetailedJobOut): string; export declare function classifierDetailedJobOutFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=classifierdetailedjobout.d.ts.map