import type { DoctorCheck, DoctorContext, DoctorReport } from './types.js'; /** Bounded shell runner. Every failure mode (non-zero, ENOENT, timeout) is status null/non-zero — never a throw. */ export declare function makeRunCmd(projectRoot: string, env?: NodeJS.ProcessEnv): DoctorContext['runCmd']; /** * Bounded argv runner — no shell. `bin` is still resolved via PATH (Node's * spawnSync does its own PATH lookup when `shell` is unset), but `args` are * passed as literal argv elements and never interpreted by a shell. Same * failure-mode contract as `makeRunCmd`. */ export declare function makeRunArgv(projectRoot: string, env?: NodeJS.ProcessEnv): DoctorContext['runArgv']; export declare function runDoctor(projectRoot: string, options?: { fix?: boolean; checks?: DoctorCheck[]; runCmd?: DoctorContext['runCmd']; runArgv?: DoctorContext['runArgv']; }): DoctorReport; //# sourceMappingURL=run.d.ts.map