import { type DoctorOptions, type DoctorRepair, type DoctorReport } from './doctor-report.js'; import type { RepairOutcome } from './doctor-repairs.js'; import { type DoctorCompletedPayload, type DoctorCouldNotRunPayload } from './setup-telemetry.js'; /** Enumerated fields only; check `detail` text never leaves the machine. */ export declare function telemetryPayload(report: DoctorReport, offered: DoctorRepair[], outcomes: RepairOutcome[], options: DoctorOptions, durationMs: number): DoctorCompletedPayload; /** Both paths send keyless when there is no key; the route records those anonymously. */ export declare function telemetryKey(): string | undefined; /** Enumerated outcome and timing only; the raw error stays behind --debug. */ export declare function couldNotRunPayload(error: unknown, options: DoctorOptions, durationMs: number): DoctorCouldNotRunPayload;