import { type MutReportJson } from './types.js'; export declare const MUT_REPORT_RELATIVE_PATH = "mut/mut-report.json"; /** * Build the canonical absolute path of a session's mut-report.json. * Exported so the CLI surface in qa-commands can reuse the same * constant for diagnostic messages. * * Uses POSIX separators intentionally: the one-axis envelope is * documented as `.peaks/_runtime//mut/mut-report.json` (forward * slashes) and that path is what the hotfix 81f00ce audit-trail * contract guarantees. `node:path` would produce backslashes on * Windows, breaking the cross-platform invariant. POSIX join is * correct here because the result is a logical path stored in JSON * artifacts and CLI diagnostics — it never gets passed to OS * syscalls directly (readFile / writeFile accept both forms). */ export declare function mutReportPath(sessionId: string): string; /** * Read and validate a session's mut-report.json. * * Returns `null` for any of these cases: * - file does not exist (ENOENT) * - file exists but JSON is malformed * - file exists and parses but does not satisfy `MutReportSchema` * * Never throws. Never logs to stdout (per "no console.log in src/"). * Schema-parse failures are reported via `process.stderr` so the * qa-runner operator can see why their report is being treated as * absent. */ export declare function loadMutReport(sessionId: string): Promise;