import type * as cxapi from '@aws-cdk/cloud-assembly-api'; /** * A bidirectional map between logical IDs and construct paths for a single stack. * * Only includes entries that belong to this stack's own template — resources of * nested stacks are excluded. Nested stacks themselves appear as a single entry * (the `AWS::CloudFormation::Stack` resource). */ export interface LogicalIdMap { /** Map from logical ID to construct path */ readonly toPath: Record; /** Map from construct path to logical ID */ readonly toLogicalId: Record; } /** * Build a bidirectional map of logical ID <-> construct path for a stack artifact. * * For resources, the path is read from the template's own `aws:cdk:path` metadata, * which is authoritative and unambiguous. For remaining entries (resources without * template-level metadata, Parameters, Conditions, etc.), the cloud assembly metadata * is used, filtered to only include logical IDs present in this stack's template. */ export declare function buildLogicalToPathMap(stack: cxapi.CloudFormationStackArtifact): LogicalIdMap; //# sourceMappingURL=logical-id-map.d.ts.map