import { type RecordedAuthMode } from './auth.js'; import type { AgentClient } from './connect-runtime.js'; import { AuthMode, type Harness, Registered } from './harness/harness-detect.js'; export interface RegistrationStatus { harness: Harness; detected: boolean; registered: Registered; authMode: AuthMode; connectedBefore: boolean; /** The endpoint the harness is actually pointed at, when the probe exposes it. */ registeredUrl?: string; /** Its key is a copy of the CLI's, so the CLI's own verification covers it. */ keyMatchesCliKey?: boolean; /** Holds no key; reads the CLI's at runtime. */ usesCliKey?: boolean; connected?: boolean; /** Why a keyed registration's key could not be read; not `reason`. */ keyReason?: string; /** What connect wrote, for harnesses whose CLI never echoes it back. Recorded, not verified. */ recordedAuthMode?: RecordedAuthMode; reason?: string; } /** Per-harness sign-in probes; connect composes these rather than the descriptor carrying them. */ export declare const SIGN_IN_PROBES: Partial boolean | undefined>>; /** Never throws; a failed probe is `unknown` with a reason, so no caller can read it as healthy. */ export declare function detectRegistrations(harnesses?: Harness[]): RegistrationStatus[];