import * as z from "zod/v4"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import { ComputePoolSelection } from "./computepoolselection.js"; import { SDKValidationError } from "./errors/sdkvalidationerror.js"; export declare const RequirementsArchitecture: { readonly Arm64: "arm64"; readonly X8664: "x86_64"; }; export type RequirementsArchitecture = ClosedEnum; export type RequirementsGpu = { type: string; count: number; }; export type Requirements = { cpu: string; memoryBytes: number; ephemeralStorageBytes: number; architecture?: RequirementsArchitecture | null | undefined; gpu?: RequirementsGpu | null | undefined; }; export type Min = { min: number; max: number; default: number; }; export type Max = { min: number; max: number; default: number; }; export type ScaleAutoscale = { type: "autoscale"; min: Min; max: Max; }; export type Machines = { min: number; max: number; default: number; }; export type ScaleFixed = { type: "fixed"; machines: Machines; }; export type Scale = ScaleFixed | ScaleAutoscale; export declare const ProfileArchitecture: { readonly Arm64: "arm64"; readonly X8664: "x86_64"; }; export type ProfileArchitecture = ClosedEnum; export type ProfileGpu = { type: string; count: number; }; export type DeploymentComputePlanProfile = { cpu: string; memoryBytes: number; ephemeralStorageBytes: number; architecture?: ProfileArchitecture | null | undefined; gpu?: ProfileGpu | null | undefined; }; export type DeploymentComputePlanMachine = { machine: string; profile: DeploymentComputePlanProfile; recommended: boolean; }; export type Pool = { poolId: string; workloads: Array; requirements: Requirements; scale: ScaleFixed | ScaleAutoscale; /** * User-selected deployment settings for one compute pool. */ selected: ComputePoolSelection; /** * User-selected deployment settings for one compute pool. */ recommended: ComputePoolSelection; machines: Array; errors?: Array | undefined; }; export type DeploymentComputePlan = { pools: Array; }; /** @internal */ export declare const RequirementsArchitecture$inboundSchema: z.ZodEnum; /** @internal */ export declare const RequirementsGpu$inboundSchema: z.ZodType; export declare function requirementsGpuFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const Requirements$inboundSchema: z.ZodType; export declare function requirementsFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const Min$inboundSchema: z.ZodType; export declare function minFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const Max$inboundSchema: z.ZodType; export declare function maxFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const ScaleAutoscale$inboundSchema: z.ZodType; export declare function scaleAutoscaleFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const Machines$inboundSchema: z.ZodType; export declare function machinesFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const ScaleFixed$inboundSchema: z.ZodType; export declare function scaleFixedFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const Scale$inboundSchema: z.ZodType; export declare function scaleFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const ProfileArchitecture$inboundSchema: z.ZodEnum; /** @internal */ export declare const ProfileGpu$inboundSchema: z.ZodType; export declare function profileGpuFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const DeploymentComputePlanProfile$inboundSchema: z.ZodType; export declare function deploymentComputePlanProfileFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const DeploymentComputePlanMachine$inboundSchema: z.ZodType; export declare function deploymentComputePlanMachineFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const Pool$inboundSchema: z.ZodType; export declare function poolFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const DeploymentComputePlan$inboundSchema: z.ZodType; export declare function deploymentComputePlanFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=deploymentcomputeplan.d.ts.map