UNPKG

woaru

Version:

Universal Project Setup Autopilot - Analyze and automatically configure development tools for ANY programming language

34 lines 1.63 kB
import { EventEmitter } from 'events'; import { ToolRecommendation, CodeIssue, SupervisorConfig } from './types'; import { ProductionAudit } from '../auditor/ProductionReadinessAuditor'; export declare class NotificationManager extends EventEmitter { private config; private notificationHistory; private cooldownMinutes; constructor(config: SupervisorConfig['notifications']); notifyRecommendations(recommendations: ToolRecommendation[]): Promise<void>; notifyIssues(issues: CodeIssue[]): Promise<void>; private showTerminalNotification; private showDesktopNotification; private sendWebhook; showProgress(message: string): void; showSuccess(message: string): void; showError(message: string): void; showCriticalQualityError(filePath: string, toolName: string, output: string): void; showQualitySuccess(filePath: string, toolName: string): void; notifyProductionAudits(audits: ProductionAudit[]): Promise<void>; private showProductionAuditsTerminal; private showProductionAuditsDesktop; showHealthScore(score: number, previous?: number): void; private createProgressBar; showWarning(message: string): void; /** * Shows prominent security alerts in the terminal * @param severity - 'critical' or 'high' * @param title - Main security issue title * @param details - Additional details about the vulnerability * @param action - Recommended action to fix */ showSecurityAlert(severity: 'critical' | 'high', title: string, details?: string, action?: string): void; } //# sourceMappingURL=NotificationManager.d.ts.map