import { type GraphIR } from "./graph-ir.js"; /** * Build the DECLARED graph for a multi-stack project, scoped per stack (#1162). * * A whole-project discovery disambiguates colliding logical names by module path * (two `server`s become `UsEast1Srcserver` / `UsWest1Srcserver`) — names that * never appear in any deployed template, because each stack deploys its OWN * scoped source with BARE LogicalResourceIds. Observation therefore keys live * nodes by `${stack}::${logicalId}` (bare id). To make the declared side join * that live side, build each stack's `src` in isolation and qualify its node ids * and edge endpoints the same way. Stacks are merged into one graph. * * A stack without `src` contributes nothing here — it has no declared source to * scope to (its live nodes still show as foreign in the overlay). */ export declare function buildDeclaredPerStack(stacks: Array<{ name: string; src?: string; }>, projectPath: string): Promise; //# sourceMappingURL=graph-declared.d.ts.map