import type { RuntimeEnv } from "../runtime.js"; import type { DoctorOptions } from "./doctor-prompter.js"; export declare function maybeOfferUpdateBeforeDoctor(params: { runtime: RuntimeEnv; options: DoctorOptions; root: string | null; confirm: (p: { message: string; initialValue: boolean; }) => Promise; outro: (message: string) => void; }): Promise<{ updated: boolean; handled?: undefined; } | { updated: boolean; handled: boolean; }>;