import type { ControlDiagnostics } from "@onebots/core/control"; import { inspectManagerServiceStatus } from "./manager-service-status.js"; import { type ServiceHost } from "./service-host.js"; export interface ManagerDoctorCheck { id: string; status: "pass" | "warn" | "fail"; message: string; } export interface ManagerDoctorOptions { dataDir?: string; system?: boolean; strict?: boolean; fix?: boolean; } export interface ManagerDoctorReport { schemaVersion: 1; checks: ManagerDoctorCheck[]; exitCode: 0 | 1; } export interface ManagerDoctorDependencies { inspectService?: typeof inspectManagerServiceStatus; inspectDiagnostics?: (workspace: string) => Promise; probe?: (state: ControlDiagnostics) => Promise; inspectTerminal?: () => Promise; } export declare function runManagerDoctor(options: ManagerDoctorOptions, host?: ServiceHost, dependencies?: ManagerDoctorDependencies): Promise; //# sourceMappingURL=manager-doctor.d.ts.map