/** * Performance Profiling Integration * Parses common profiling output: Node.js CPU profiles (.cpuprofile), * webpack bundle stats, and performs heuristic analysis on file/dep sizes. */ export interface PerfEntry { type: 'hot_function' | 'large_bundle' | 'slow_module' | 'large_file' | 'heavy_dep'; name: string; file?: string; metric: string; value: number; unit: string; severity: 'critical' | 'warning' | 'info'; recommendation?: string; } export interface PerfResult { entries: PerfEntry[]; sources: string[]; profFiles: string[]; summary: { critical: number; warning: number; info: number; }; bundleSize?: { total: number; largest: { name: string; size: number; }[]; }; } /** * Main performance analysis function. * @param cwd - The working directory * @returns Performance analysis results with entries and summary */ export declare function analyzePerformance(cwd: string): Promise; //# sourceMappingURL=perf-profile.d.ts.map