import { type Health } from './auth-status.js'; import { type ClaudeInvoker } from '../invoker.js'; /** Minimal account shape the prober needs (registry Account satisfies this). */ export interface ProbeableAccount { name: string; dir: string; } export interface ProbeResult extends Health { name: string; checkedAt: number; /** Set when auth status could not be parsed; the account is treated logged out. */ error?: string; } export interface ProberDeps { claude: ClaudeInvoker; /** Injectable clock so `checkedAt` is deterministic in tests. */ now?: () => number; } /** Probe one account's health via `claude auth status`. Never spends model tokens. */ export declare function probe(account: ProbeableAccount, deps: ProberDeps): Promise; /** Probe many accounts in parallel. */ export declare function probeAll(accounts: ProbeableAccount[], deps: ProberDeps): Promise;