export type ChannelAccountHealthSummary = { accountId: string; configured?: boolean; linked?: boolean; authAgeMs?: number | null; probe?: unknown; lastProbeAt?: number | null; [key: string]: unknown; }; export type ChannelHealthSummary = ChannelAccountHealthSummary & { accounts?: Record; }; export type AgentHealthSummary = { agentId: string; name?: string; isDefault: boolean; heartbeat: import("../infra/heartbeat-summary.js").HeartbeatSummary; sessions: HealthSummary["sessions"]; }; export type PluginHealthErrorSummary = { id: string; origin: string; activated: boolean; activationSource?: string; activationReason?: string; failurePhase?: string; error: string; }; export type PluginHealthSummary = { loaded: string[]; errors: PluginHealthErrorSummary[]; }; export type HealthSummary = { ok: true; ts: number; durationMs: number; eventLoop?: import("../gateway/server/event-loop-health.js").GatewayEventLoopHealth; plugins?: PluginHealthSummary; channels: Record; channelOrder: string[]; channelLabels: Record; heartbeatSeconds: number; defaultAgentId: string; agents: AgentHealthSummary[]; sessions: { path: string; count: number; recent: Array<{ key: string; updatedAt: number | null; age: number | null; }>; }; };