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"; /** * Cloud where the private manager is hosted. Null for Alien-hosted managers. */ export declare const ManagerCloud: { readonly Aws: "aws"; readonly Gcp: "gcp"; readonly Azure: "azure"; readonly Kubernetes: "kubernetes"; readonly Machines: "machines"; readonly Local: "local"; readonly Test: "test"; }; /** * Cloud where the private manager is hosted. Null for Alien-hosted managers. */ export type ManagerCloud = ClosedEnum; /** * Represents the target cloud platform. */ export declare const ResolveResponsePlatformEnum: { 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 ResolveResponsePlatformEnum = ClosedEnum; export type ResolveResponseManagementConfigKubernetes = { platform: "kubernetes"; }; /** * Azure management configuration extracted from stack settings */ export type ResolveResponseManagementConfigAzure = { /** * The managing Azure Tenant ID for cross-tenant access */ managingTenantId: string; /** * OIDC issuer URL trusted by the target-side managed identity. */ oidcIssuer: string; /** * OIDC subject claim trusted by the target-side managed identity. */ oidcSubject: string; platform: "azure"; }; /** * GCP management configuration extracted from stack settings */ export type ResolveResponseManagementConfigGcp = { /** * Service account email for management roles */ serviceAccountEmail: string; platform: "gcp"; }; /** * AWS management configuration extracted from stack settings */ export type ResolveResponseManagementConfigAws = { /** * The managing AWS IAM role ARN that can assume cross-account roles */ managingRoleArn: string; platform: "aws"; }; /** * Management configuration for different cloud platforms. * * @remarks * * Platform-derived configuration for cross-account/cross-tenant access. * This is NOT user-specified - it's derived from the Manager's ServiceAccount. */ export type ResolveResponseManagementConfigUnion = ResolveResponseManagementConfigAws | ResolveResponseManagementConfigGcp | ResolveResponseManagementConfigAzure | ResolveResponseManagementConfigKubernetes; /** * Target install context derived from platform-managed manager metadata. Present for cloud push platforms. */ export type ResolveResponseInstallContext = { /** * Represents the target cloud platform. */ platform: ResolveResponsePlatformEnum; /** * Management configuration for different cloud platforms. * * @remarks * * Platform-derived configuration for cross-account/cross-tenant access. * This is NOT user-specified - it's derived from the Manager's ServiceAccount. */ managementConfig: ResolveResponseManagementConfigAws | ResolveResponseManagementConfigGcp | ResolveResponseManagementConfigAzure | ResolveResponseManagementConfigKubernetes; }; export type ResolveResponse = { /** * Manager ID */ managerId: string; /** * Manager display name */ managerName: string; /** * Manager URL */ managerUrl: string; /** * Whether the manager is Alien-hosted */ managerIsSystem: boolean; /** * Cloud where the private manager is hosted. Null for Alien-hosted managers. */ managerCloud?: ManagerCloud | null | undefined; /** * Resolved project ID */ projectId: string; /** * Target install context derived from platform-managed manager metadata. Present for cloud push platforms. */ installContext?: ResolveResponseInstallContext | undefined; }; /** @internal */ export declare const ManagerCloud$inboundSchema: z.ZodEnum; /** @internal */ export declare const ResolveResponsePlatformEnum$inboundSchema: z.ZodEnum; /** @internal */ export declare const ResolveResponseManagementConfigKubernetes$inboundSchema: z.ZodType; export declare function resolveResponseManagementConfigKubernetesFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const ResolveResponseManagementConfigAzure$inboundSchema: z.ZodType; export declare function resolveResponseManagementConfigAzureFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const ResolveResponseManagementConfigGcp$inboundSchema: z.ZodType; export declare function resolveResponseManagementConfigGcpFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const ResolveResponseManagementConfigAws$inboundSchema: z.ZodType; export declare function resolveResponseManagementConfigAwsFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const ResolveResponseManagementConfigUnion$inboundSchema: z.ZodType; export declare function resolveResponseManagementConfigUnionFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const ResolveResponseInstallContext$inboundSchema: z.ZodType; export declare function resolveResponseInstallContextFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const ResolveResponse$inboundSchema: z.ZodType; export declare function resolveResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=resolveresponse.d.ts.map