/** * MockDetector: React-Specific Mock Data Patterns * * Detects React-specific mock data patterns including: * - useState with hardcoded arrays/objects * - useEffect with mock data * - Component props with mock values * - Map functions with hardcoded data */ import { MockViolation } from '../types/mockdetector.types'; export interface ReactPattern { name: string; pattern: RegExp; severity: 'critical' | 'high' | 'medium' | 'low'; description: string; autoFix: (match: RegExpMatchArray, code: string) => string | null; } export declare const REACT_MOCK_PATTERNS: ReactPattern[]; /** * Scan React code for mock data patterns */ export declare const scanReactCode: (code: string, fileName?: string) => MockViolation[];