import type { CliError } from "../_utils/cli-error.js"; import { type Result } from "../_utils/result.js"; /** * `glen doctor [--auto]` * * Default mode: prints machine-readable `status:` lines plus ` → ...` * remedy lines. STABLE OUTPUT CONTRACT — the setup skill branches on * the exact `status:` prefixes and field names below; never change them * without updating the skill in lockstep. * * `--auto` (quiet) mode: runs maybeSpawnBackgroundUpdate, best-effort * detached spawns for plugin update commands, and (marker-gated, 24h-TTL'd * via the repair trace) the detached codex user-layer hooks self-heal. * No stdout output. Used by the session-start hook so it never blocks a turn. */ declare const doctor: (auto?: boolean) => Promise>; export { doctor };