import type { DeploymentContext } from "../../types/deployment/DeploymentTypes.js"; import type { CallerIdentity } from "../../types/deployment/DeploymentServiceTypes.js"; import type { StackOutputsRecord } from "../../types/deployment/cloudformation.js"; import type { OrgConfig } from "../../types/config/orgConfig.js"; /** * Builder for creating standardised CDK deployment contexts. * Ensures all required fields are present with proper defaults. * * Unlike the CLI version, this uses OrgConfig (injected) rather than * Config.loadConfig() (file-based) for region resolution. */ export declare class CdkContextBuilder { /** * Build a standardised deployment context for CDK operations. * Ensures all required fields are present with proper defaults. */ static buildDeploymentContext(input: { deployType: "application" | "organisation" | "platform" | "account"; target: string; path: string; assemblyDir?: string; environment?: string; callerIdentity?: CallerIdentity; region?: string; stackOutputs?: StackOutputsRecord; isManagedAccount?: boolean; accountName?: string; logPath?: string; orgId?: string; rootId?: string; managementAccountId?: string; devOuId?: string; ipamPoolId?: string; fjallOrgId?: string; fjallOidcConfigured?: boolean; fjallAccountGlobalsConfigured?: boolean; fjallAccountTrailState?: string; orgConfig?: string; managedDomainBindings?: Record; managedDomainCoverage?: Record; capacityIdentity?: string; }, options: { verbose?: boolean; infraOnly?: boolean; }, orgConfig?: OrgConfig): DeploymentContext; /** * Build context from an existing context with updated options */ static updateContext(existingContext: DeploymentContext, updates: Partial<{ options: { verbose?: boolean; infraOnly?: boolean; }; stackOutputs: StackOutputsRecord; region: string; }>): DeploymentContext; }