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 { ClassifierJobOut, ClassifierJobOut$Outbound } from "./classifierjobout.js"; import { CompletionJobOut, CompletionJobOut$Outbound } from "./completionjobout.js"; export type JobsOutData = (ClassifierJobOut & { jobType: "classifier"; }) | (CompletionJobOut & { jobType: "completion"; }); export declare const JobsOutObject: { readonly List: "list"; }; export type JobsOutObject = ClosedEnum; export type JobsOut = { data?: Array<(ClassifierJobOut & { jobType: "classifier"; }) | (CompletionJobOut & { jobType: "completion"; })> | undefined; object?: JobsOutObject | undefined; total: number; }; /** @internal */ export declare const JobsOutData$inboundSchema: z.ZodType; /** @internal */ export type JobsOutData$Outbound = (ClassifierJobOut$Outbound & { job_type: "classifier"; }) | (CompletionJobOut$Outbound & { job_type: "completion"; }); /** @internal */ export declare const JobsOutData$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 JobsOutData$ { /** @deprecated use `JobsOutData$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `JobsOutData$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `JobsOutData$Outbound` instead. */ type Outbound = JobsOutData$Outbound; } export declare function jobsOutDataToJSON(jobsOutData: JobsOutData): string; export declare function jobsOutDataFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const JobsOutObject$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const JobsOutObject$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 JobsOutObject$ { /** @deprecated use `JobsOutObject$inboundSchema` instead. */ const inboundSchema: z.ZodNativeEnum<{ readonly List: "list"; }>; /** @deprecated use `JobsOutObject$outboundSchema` instead. */ const outboundSchema: z.ZodNativeEnum<{ readonly List: "list"; }>; } /** @internal */ export declare const JobsOut$inboundSchema: z.ZodType; /** @internal */ export type JobsOut$Outbound = { data?: Array<(ClassifierJobOut$Outbound & { job_type: "classifier"; }) | (CompletionJobOut$Outbound & { job_type: "completion"; })> | undefined; object: string; total: number; }; /** @internal */ export declare const JobsOut$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 JobsOut$ { /** @deprecated use `JobsOut$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `JobsOut$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `JobsOut$Outbound` instead. */ type Outbound = JobsOut$Outbound; } export declare function jobsOutToJSON(jobsOut: JobsOut): string; export declare function jobsOutFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=jobsout.d.ts.map