import type { TerraformState, ResourceDependency, CascadeImpact } from '../resources/types.js'; export interface DependencyGraph { dependents: Map; dependencies: Map; resourceTypes: Map; } export declare function buildDependencyGraph(state: TerraformState): DependencyGraph; /** * Find all resources that depend on the given address. * Returns CascadeImpact objects with depth tracking. */ export declare function findDependents(graph: DependencyGraph, address: string, visited?: Set, depth?: number): CascadeImpact[]; /** * Legacy function for compatibility - returns just ResourceDependency[] */ export declare function findDependentsLegacy(graph: DependencyGraph, address: string, visited?: Set): ResourceDependency[]; export declare function findAllAffectedResources(graph: DependencyGraph, addresses: string[]): Map; /** * Build a human-readable summary of cascade impacts by type. * Example: "3 subnets, 2 NAT gateways, 14 EC2 instances" */ export declare function buildCascadeSummary(impacts: CascadeImpact[]): { byType: Record; maxDepth: number; humanReadable: string; }; //# sourceMappingURL=dependencies.d.ts.map