/** * Terraform Gate * * Evaluates Terraform plans before apply, blocking dangerous operations. */ import type { GatePolicy, GateResult, TerraformApplyOptions, CommandResult } from './types.js'; export declare class TerraformGate { private policy; constructor(policy: GatePolicy); /** * Run terraform plan (always allowed - planning is safe). * Returns the plan output and saves plan file for later apply. */ plan(cwd?: string, args?: string[]): Promise>; /** * Apply a Terraform plan through the gate. * Evaluates the plan first, then applies if allowed. */ apply(options?: TerraformApplyOptions): Promise>; /** * Evaluate a plan without applying it. */ evaluate(planJson: unknown, stateJson?: unknown): Promise; /** * Destroy infrastructure through the gate. * Always escalates by default - destroying is high-risk. */ destroy(cwd?: string, args?: string[]): Promise>; private shouldEscalate; private shouldExecute; private runTerraform; } //# sourceMappingURL=terraform.d.ts.map