UNPKG

cdk-insights

Version:

AWS CDK security and cost analysis tool with AI-powered insights

20 lines (19 loc) 894 B
import type { Issue, IssueGroup, RecommendationMap, Recommendations } from '../../types/analysis.types'; export interface ProcessAIRecommendationsDependencies { staticRecommendations: Record<string, { issues: Issue[]; }>; filterIssuesByRule: (issues: Issue[], rules: string[]) => Issue[]; aiRecommendations: Recommendations; recommendationMap: RecommendationMap; ruleFilter: string[]; _displayNameMap?: Record<string, string>; } export interface ProcessAIRecommendationsResult { updatedMap: Record<string, IssueGroup>; criticalCount: number; highCount: number; mediumCount: number; lowCount: number; } export declare const processAiRecommendations: ({ staticRecommendations, aiRecommendations, recommendationMap, ruleFilter, filterIssuesByRule, _displayNameMap, }: ProcessAIRecommendationsDependencies) => ProcessAIRecommendationsResult;