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 { ComputeLimits, ComputeLimits$Outbound } from "./computelimits.js"; import { ComputeReason, ComputeReason$Outbound } from "./computereason.js"; import { ComputeRequest, ComputeRequest$Outbound } from "./computerequest.js"; import { ComputeResourceState } from "./computeresourcestate.js"; import { ComputeSSH, ComputeSSH$Outbound } from "./computessh.js"; import { ComputeVolume, ComputeVolume$Outbound } from "./computevolume.js"; export type ComputeService = { accruedUsd: number; allocatedAt?: Date | undefined; compute: ComputeRequest; createdAt: Date; endpoints: Array; hardware?: ComputeHardware | undefined; id: string; limits: ComputeLimits; name?: string | undefined; priceUsdHr?: number | undefined; /** * Opaque compute-provider identifier. Supported values are deployment-specific. */ provider?: string | undefined; reason: ComputeReason | null; ssh?: ComputeSSH | undefined; startedAt: Date | null; state: ComputeResourceState; terminalAt: Date | null; ready: boolean; volume?: ComputeVolume | undefined; }; /** @internal */ export declare const ComputeService$inboundSchema: z.ZodType; /** @internal */ export type ComputeService$Outbound = { accrued_usd: number; allocated_at?: string | undefined; compute: ComputeRequest$Outbound; created_at: string; endpoints: Array; hardware?: ComputeHardware$Outbound | undefined; id: string; limits: ComputeLimits$Outbound; name?: string | undefined; price_usd_hr?: number | undefined; provider?: string | undefined; reason: ComputeReason$Outbound | null; ssh?: ComputeSSH$Outbound | undefined; started_at: string | null; state: string; terminal_at: string | null; ready: boolean; volume?: ComputeVolume$Outbound | undefined; }; /** @internal */ export declare const ComputeService$outboundSchema: z.ZodType; export declare function computeServiceToJSON(computeService: ComputeService): string; export declare function computeServiceFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=computeservice.d.ts.map