import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { ComputeEndpoint, ComputeEndpoint$Outbound } from "./computeendpoint.js"; import { ComputeHardware, ComputeHardware$Outbound } from "./computehardware.js"; import { ComputeInstanceState } from "./computeinstancestate.js"; import { ComputeReason, ComputeReason$Outbound } from "./computereason.js"; import { ComputeSSH, ComputeSSH$Outbound } from "./computessh.js"; export type ComputeInstance = { createdAt?: Date | undefined; endpoints: Array; exitCode?: number | undefined; hardware: ComputeHardware; host?: string | undefined; id: string; priceUsdHr?: number | undefined; privateHost?: string | undefined; providerId: string; /** * Provider-native type, such as pod, instant_cluster_pod, or instance. */ providerResourceType: string; rank?: number | undefined; ready?: boolean | undefined; readyAt?: Date | undefined; reason?: ComputeReason | undefined; region?: string | undefined; replicaIndex?: number | undefined; ssh?: ComputeSSH | undefined; startedAt?: Date | undefined; state: ComputeInstanceState; terminalAt?: Date | undefined; }; /** @internal */ export declare const ComputeInstance$inboundSchema: z.ZodType; /** @internal */ export type ComputeInstance$Outbound = { created_at?: string | undefined; endpoints: Array; exit_code?: number | undefined; hardware: ComputeHardware$Outbound; host?: string | undefined; id: string; price_usd_hr?: number | undefined; private_host?: string | undefined; provider_id: string; provider_resource_type: string; rank?: number | undefined; ready?: boolean | undefined; ready_at?: string | undefined; reason?: ComputeReason$Outbound | undefined; region?: string | undefined; replica_index?: number | undefined; ssh?: ComputeSSH$Outbound | undefined; started_at?: string | undefined; state: string; terminal_at?: string | undefined; }; /** @internal */ export declare const ComputeInstance$outboundSchema: z.ZodType; export declare function computeInstanceToJSON(computeInstance: ComputeInstance): string; export declare function computeInstanceFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=computeinstance.d.ts.map