/** * Strips OS-specific absolute file paths from text so that the same error * produces the same fingerprint regardless of where it was captured. * * Targets: * - Windows: C:\Users\foo\project\file.js → /file.js * - Linux: /home/foo/project/file.js → /file.js * - Node internal: node:internal/... → left as-is (already portable) */ export declare function stripAbsolutePaths(text: string): string; /** * Generates a SHA-256 fingerprint from stderr/stdout output. * This provides the exact match hash for deterministic failures. * * Normalizes: * - Line endings (\r\n → \n) * - Absolute file paths (stripped to basename) * - Trailing whitespace */ export declare function generateExactFingerprint(stderr: string): string; /** * Extracts common error patterns from stderr (e.g., Exception names) * This provides the fuzzy fallback for non-deterministic failures (like memory addresses). * * Whitelist approach: only extract patterns matching known error shapes. * Unknown patterns that happen to look like error codes are ignored. */ export declare function extractErrorPatterns(stderr: string): string[]; //# sourceMappingURL=fingerprint.d.ts.map