import type { ServiceInstallDeps } from "@danypops/vehicle-server/service"; export interface ServiceUnitDiagnostic { code: "SERVICE_EXEC_PATH_MISSING" | "SERVICE_NOT_RUNNING" | "SERVICE_STATUS_UNAVAILABLE" | "SERVICE_STALE_CODE" | "SERVICE_VERSION_MISMATCH" | "SERVICE_NOT_REGISTERED" | "SERVICE_DESCRIPTOR_DRIFT" | "SERVICE_REQUIREMENT_UNRESOLVED"; severity: "error" | "warning"; package: string; unitName: string; message: string; } export interface ServiceDoctorReport { ok: boolean; diagnostics: ServiceUnitDiagnostic[]; checked: number; } export interface ServiceDoctorDeps extends ServiceInstallDeps { fileExists(path: string): boolean; /** Undefined (never throws) when the path doesn't exist or can't be stat'd. */ getMtimeMs(path: string): number | undefined; } export declare function checkServiceUnitPaths(piHome: string, projectRoot: string | undefined, deps: ServiceDoctorDeps): ServiceDoctorReport; export declare function formatServiceDoctorReport(report: ServiceDoctorReport, json: boolean): string; //# sourceMappingURL=service-doctor.d.ts.map