import { StackManifest, TerraformStackMetadata } from "cdktn"; export interface SynthesizedStackMetadata { "//"?: { [key: string]: TerraformStackMetadata; }; } export interface SynthesizedStack extends StackManifest { content: string; } export declare class StackDependencies { private readonly stacks; pendingStacks: SynthesizedStack[]; inflightStacks: SynthesizedStack[]; deployedStacks: SynthesizedStack[]; constructor(stacks: SynthesizedStack[]); startRun(stack: SynthesizedStack): void; finishRun(stack: SynthesizedStack): void; get pendingDeployableStacks(): SynthesizedStack[]; } export type SynthOrigin = "watch"; export declare class SynthStack { static synth(abortSignal: AbortSignal, command: string, outdir: string, workingDirectory?: string, graceful?: boolean, // will not exit the process but rethrow the error instead noColor?: boolean, synthOrigin?: SynthOrigin, hcl?: boolean): Promise; static formatHclFiles(outDir: string): Promise; static readSynthesizedStacks(outdir: string): Promise; static synthTelemetry(totalTime: number, stacks: SynthesizedStack[], synthOrigin?: SynthOrigin): Promise; static synthErrorTelemetry(synthOrigin?: SynthOrigin): Promise; } //# sourceMappingURL=synth-stack.d.ts.map