export declare function runDoctor(opts: { fix: boolean; json?: boolean; }, currentVersion: string): Promise;