/** * Collects issues and hotspots delivered via SLOOP raiseIssues/raiseHotspots notifications. * * SLOOP delivers analysis results asynchronously via client notifications, not in the * analyzeFilesAndTrack response. This collector accumulates them per analysis ID. */ export declare class IssueCollector { private readonly issues; private readonly hotspots; /** * Add issues from a raiseIssues notification. * Issues are grouped by fileUri in the notification; we flatten and tag each with its fileUri. */ addIssues(analysisId: string, issuesByFileUri: Record): void; /** * Add hotspots from a raiseHotspots notification. */ addHotspots(analysisId: string, hotspotsByFileUri: Record): void; /** * Get all collected issues for an analysis and clear them. */ getAndClear(analysisId: string): any[]; /** * Get all collected hotspots for an analysis and clear them. */ getHotspotsAndClear(analysisId: string): any[]; } //# sourceMappingURL=issue-collector.d.ts.map