/** * Error Analyzer * * Analyzes test errors to extract patterns and classify problems. */ import type { TestError, ErrorType } from '../types.js'; export interface ParsedError { type: ErrorType; message: string; details: Record; fixable: boolean; } /** * Analyze a test error message and classify it */ export declare function analyzeTestError(testFile: string, testName: string, errorMessage: string, stack?: string): TestError; /** * Classify multiple test errors */ export declare function classifyErrors(errors: string[]): Map; /** * Check if error is auto-fixable */ export declare function isAutoFixable(error: TestError): boolean; /** * Get fix suggestions for an error type */ export declare function getCommonFixes(error: TestError): string[];