import type { DiagnosticResult } from "./types.js"; import { type SpinnerController } from "../../ui/index.js"; export declare function resolveDoctorPort(projectDir: string, explicitPort?: number): Promise; type CheckFn = () => Promise; type SpinnerFactory = (text: string) => SpinnerController; export declare function streamCheck(fn: CheckFn, allResults: DiagnosticResult[], spinnerFactory?: SpinnerFactory): Promise; export declare function reportDoctorResults(results: DiagnosticResult[], opts: { port: number; strict?: boolean; duration?: number; streaming?: boolean; }): Promise; export declare function doctorCommand(projectDir: string, opts?: { strict?: boolean; port?: number; }): Promise; export {}; //# sourceMappingURL=index.d.ts.map