/** * v1.2 §10 — `solosquad doctor --discord` 5-hop diagnostic. Every hop is * attributable (which step failed) and actionable (what to run next). * Silent failure budget = 0. * * Hops: * 1. DISCORD_TOKEN env exists + has the Discord token shape. * 2. REST `/users/@me` returns the bot user (token live + valid). * 3. bot_user_id matches at least one user.yaml in the workspace. * 4. Bot is a member of ≥1 guild (covers GuildCreate event readiness). * 5. /discord/config.yaml exists + binds the bot's guild + has * the command- channel ID recorded. * * Returns the count of failed hops so callers can `process.exitCode = n`. */ export interface DoctorDiscordOpts { /** Non-zero exit on failure (for CI). */ ci?: boolean; } export declare function doctorDiscordCommand(opts?: DoctorDiscordOpts): Promise;