import * as z from "zod/v4"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import { SDKValidationError } from "./errors/sdkvalidationerror.js"; import { ManagerManagementConfigs } from "./managermanagementconfigs.js"; import { ManagerStatus } from "./managerstatus.js"; /** * Represents the target cloud platform. */ export declare const TargetEnum: { readonly Aws: "aws"; readonly Gcp: "gcp"; readonly Azure: "azure"; readonly Kubernetes: "kubernetes"; readonly Machines: "machines"; readonly Local: "local"; readonly Test: "test"; }; /** * Represents the target cloud platform. */ export type TargetEnum = ClosedEnum; /** * Cloud where this private manager is deployed */ export declare const CloudEnum: { readonly Aws: "aws"; readonly Gcp: "gcp"; readonly Azure: "azure"; readonly Kubernetes: "kubernetes"; readonly Machines: "machines"; readonly Local: "local"; readonly Test: "test"; }; /** * Cloud where this private manager is deployed */ export type CloudEnum = ClosedEnum; /** * Private manager setup lifecycle status */ export declare const ManagerSetupStatus: { readonly Pending: "pending"; readonly Provisioning: "provisioning"; readonly Active: "active"; readonly Failed: "failed"; readonly Deleting: "deleting"; readonly Deleted: "deleted"; }; /** * Private manager setup lifecycle status */ export type ManagerSetupStatus = ClosedEnum; /** * Runtime metrics (self-reported via heartbeat) */ export type ManagerMetrics = { /** * Number of active deployments */ activeDeployments?: number | undefined; /** * Number of pending deployments */ pendingDeployments?: number | undefined; /** * Memory usage in megabytes */ memoryUsageMb?: number | undefined; /** * CPU usage percentage */ cpuUsagePercent?: number | undefined; }; /** * Manager schema */ export type Manager = { id: string; /** * Display name of the manager */ name: string; /** * Platforms this manager can handle */ targets: Array; /** * Cloud where this private manager is deployed */ cloud?: CloudEnum | null | undefined; /** * Cloud region selected for this private manager */ region?: string | null | undefined; /** * Private manager setup lifecycle status */ setupStatus?: ManagerSetupStatus | null | undefined; /** * Manager URL (self-reported via heartbeat). DeepStore endpoints are exposed through this URL (e.g., {url}/v1/logs) */ url?: string | null | undefined; /** * Per-platform management configurations for cross-account access (self-reported via heartbeat) */ managementConfigs: ManagerManagementConfigs; /** * Whether this is a system manager (Alien-hosted) */ isSystem: boolean; /** * The workspace ID (for system managers, this is ALIEN_WORKSPACE_ID) */ workspaceId: string; /** * Current health status */ status: ManagerStatus; /** * Manager version (self-reported via heartbeat) */ version?: string | null | undefined; /** * Runtime metrics (self-reported via heartbeat) */ metrics?: ManagerMetrics | null | undefined; /** * Timestamp of the last received heartbeat from the manager */ lastHeartbeatAt?: Date | null | undefined; /** * ID of the logs database associated with this manager */ logsDatabaseId?: string | null | undefined; /** * Number of deployments currently being managed by this manager */ managedDeploymentCount: number; /** * Number of projects that select this manager as a default manager */ defaultProjectCount: number; /** * Timestamp when the manager was created */ createdAt: Date; }; /** @internal */ export declare const TargetEnum$inboundSchema: z.ZodEnum; /** @internal */ export declare const CloudEnum$inboundSchema: z.ZodEnum; /** @internal */ export declare const ManagerSetupStatus$inboundSchema: z.ZodEnum; /** @internal */ export declare const ManagerMetrics$inboundSchema: z.ZodType; export declare function managerMetricsFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const Manager$inboundSchema: z.ZodType; export declare function managerFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=manager.d.ts.map