import type { CloudFormationResource, IssueGroup, Manifest } from '../../types/analysis.types'; /** * Attaches per-issue `sourceLocation` (file:line:column) to every finding in a * recommendation map by resolving each resource's construct path against the * CDK manifest (Box traces on aws-cdk-lib >= 2.252; creation-stack traces * otherwise). Pure function - the same resolution the `scan` pipeline and the * synth-time validation plugin both use, so their SARIF agrees. * * Lookups are memoised per construct path. On any failure the input map is * returned unchanged; pass `onError` to observe the failure (the CLI logs it; * the plugin stays silent so it never adds noise to a user's synth). */ export declare const enrichIssuesWithSourceLocation: (params: { recommendationMap: Record; stackName: string; stackResources: Record; manifest: Manifest; onError?: (error: unknown) => void; }) => Record;