export interface MockViolation { type: 'mock_data'; severity: 'critical' | 'high' | 'medium' | 'low'; file?: string; line?: number; code?: string; description: string; fix?: string; route?: string; confidence?: number; reasoning?: string; } export interface ScanResult { totalViolations: number; mockDataViolations: MockViolation[]; scanDuration: number; scannedAt: Date; scanType?: 'frontend' | 'database'; fromCache?: boolean; wasPartial?: boolean; totalViolationsBeforeTruncation?: number; } export interface SelfScanStatus { isClean: boolean; lastScanned: Date; violations: number; nextScan?: Date; }