/** * Apple Security Audit Module * * Comprehensive security audit system that integrates with AGI Core UI * and provides real-time security assessment of Apple products and services. */ import { type AppleSecurityConfig, type AppleSecurityFinding } from './appleSecurityIntegration.js'; export interface AppleSecurityAuditOptions extends Partial { /** Enable UI integration for real-time display */ enableUI: boolean; /** Enable real-time progress updates */ realTimeUpdates: boolean; /** Output format: 'text', 'json', or 'both' */ outputFormat: 'text' | 'json' | 'both'; /** Generate detailed reports */ generateReports: boolean; /** Enable interactive mode for remediation */ interactiveRemediation: boolean; } export interface AuditProgress { phase: string; step: number; totalSteps: number; status: 'pending' | 'running' | 'completed' | 'failed'; message: string; findings: AppleSecurityFinding[]; metrics: Record; } export declare class AppleSecurityAudit { private integration; private ui; private options; private progress; private eventCallbacks; constructor(options?: Partial); /** * Get all findings from the audit */ getFindings(): AppleSecurityFinding[]; /** * Register event callback */ on(event: 'progress' | 'finding' | 'phase_start' | 'phase_complete' | 'audit_complete', callback: Function): void; /** * Emit event to registered callbacks */ private emit; /** * Update progress and emit events */ private updateProgress; /** * Display progress in UI */ private displayProgress; /** * AGENT REFINER: Helper method to aggregate findings from phase results * This ensures consistent findings collection across ALL phases */ private aggregateFindings; /** * AGENT REFINER: Complete phase with findings aggregation */ private completePhase; /** * Phase 1: Service Discovery with UI integration */ private phase1ServiceDiscovery; /** * Phase 2: Vulnerability Assessment with UI integration */ private phase2VulnerabilityAssessment; /** * Phase 3: Security Hardening with UI integration */ private phase3SecurityHardening; /** * Phase 4: AGI Core Integration with UI */ private phase4AgiIntegration; /** * Phase 5: Generate comprehensive report */ private phase5GenerateReport; /** * Phase 6: Interactive remediation (if enabled) */ private phase6InteractiveRemediation; /** * Phase 7: Final summary and cleanup */ private phase7FinalSummary; /** * Run complete Apple security audit */ runFullAudit(): Promise; } //# sourceMappingURL=appleSecurityAudit.d.ts.map