import type { CloudFormationStackArtifact } from '@aws-cdk/cloud-assembly-api'; import { type MetadataEntry } from '@aws-cdk/cloud-assembly-schema'; /** * Metadata entry for a resource within a CloudFormation stack */ export interface ResourceMetadata { /** * The resource's metadata as declared in the cloud assembly */ readonly entry: MetadataEntry; /** * The construct path of the resource */ readonly constructPath: string; } /** * Attempts to read metadata for resources from a CloudFormation stack artifact * * @param stack - The CloudFormation stack to read from * @param logicalId - The logical ID of the resource to read * * @returns The resource metadata, or undefined if the resource was not found */ export declare function resourceMetadata(stack: CloudFormationStackArtifact, logicalId: string): ResourceMetadata | undefined; //# sourceMappingURL=resource-metadata.d.ts.map