/** * Aura Protocol - Parallel Orchestrator * * Orchestrates parallel execution of zones and manages data flow between them. * This is the main entry point for running security scans using the Aura architecture. */ import { EventEmitter } from 'events'; import { ZoneManager } from '../zones/manager.js'; import { ZoneConfig, ZoneResult, ZoneFinding } from '../zones/types.js'; import { Agent } from '../agents/types.js'; export interface OrchestratorConfig { targetPath: string; zones?: string[]; runPolicyZone?: boolean; customZones?: ZoneConfig[]; } export interface OrchestratorResult { success: boolean; duration: number; targetPath: string; zoneResults: Map; findings: ZoneFinding[]; summary: { totalFindings: number; byType: Record; bySeverity: Record; byZone: Record; agentsUsed: string[]; }; } export declare class ParallelOrchestrator extends EventEmitter { private manager; private agents; private initialized; constructor(manager?: ZoneManager); /** * Initialize the orchestrator with all agents */ initialize(): Promise; /** * Run a full security scan using Aura Protocol * * Execution flow: * 1. Scanner Zone - Run all scanners in parallel * 2. Policy Zone - Evaluate and validate findings (sequential) */ scan(config: OrchestratorConfig): Promise; /** * Run only the scanner zone (faster, no policy evaluation) */ quickScan(targetPath: string): Promise; /** * Run a full scan with policy evaluation */ fullScan(targetPath: string): Promise; /** * Get available agents */ getAvailableAgents(): Promise; /** * Get current state for visualization */ getState(): ReturnType; /** * Reset all zones */ reset(): void; private buildSummary; } export declare const orchestrator: ParallelOrchestrator; export * from '../zones/types.js'; export * from '../zones/manager.js';