/** * SLOP Protocol Scanner * * Wrapper that uses the SLOP Protocol multi-agent architecture * while maintaining backward compatibility with the existing scanner interface. */ import { orchestrator, OrchestratorResult } from '../orchestrator/index.js'; import { ZoneFinding } from '../zones/types.js'; import type { LocalScanResult } from './local-scanner.js'; export interface SlopScanConfig { targetPath: string; fullScan?: boolean; enableScannerZone?: boolean; enablePolicyZone?: boolean; } export interface SlopScanResult { legacy: LocalScanResult; slop: { zones: Array<{ id: string; name: string; type: string; color: string; status: string; findingCount: number; duration: number; }>; agents: Array<{ id: string; name: string; role: string; status: string; findingCount: number; duration: number; }>; findings: ZoneFinding[]; summary: OrchestratorResult['summary']; }; } /** * Run a security scan using the SLOP Protocol architecture */ export declare function slopScan(config: SlopScanConfig): Promise; /** * Get orchestrator state for visualization */ export declare function getSlopState(): { zones: Array<{ id: string; name: string; type: string; color: string; status: import("../zones/types.js").ZoneStatus; agentCount: number; findingCount: number; }>; agents: Array<{ id: string; name: string; role: string; zoneId: string | null; status: string; }>; }; /** * Get available agents */ export declare function getAvailableAgents(): Promise; export { orchestrator };