/** * Shared human vocabulary for live account activity and readiness. * JSON surfaces emit daemon fields as-is; these helpers are display-only. */ import type { AccountReadinessReason, UpstreamAuthState } from "@velum-labs/routekit-contracts"; export type AccountActivityFields = { serving?: boolean; inFlight?: number; lastSelected?: boolean; lastSelectedAt?: number; }; export type AccountReadinessFields = { credentialValid?: boolean; upstreamAuthState?: UpstreamAuthState; configured?: boolean; relayOpen?: boolean; relayReady?: boolean; poolEligible?: boolean; coolingUntil?: number; readinessReasons?: AccountReadinessReason[]; }; /** * Compact activity markers appended after an account label: * `(serving N)` and/or `(last selected … ago)`. */ export declare function formatAccountActivityMarkers(account: AccountActivityFields, now?: number): string; /** * Short readiness tags for usage-style lines. Prefer explicit false/cooling * over "ready". */ export declare function formatUsageReadinessSuffix(account: AccountReadinessFields, now?: number): string; /** Enrollment/status detail used by `accounts status`. */ export declare function formatAccountsStatusDetail(account: AccountReadinessFields & { localOnly?: boolean; }, now?: number): string; /** Compact readiness suffix used by top-level `status`. */ export declare function formatOverviewReadinessSuffix(account: AccountReadinessFields, now?: number): string; export declare function accountReadyForOverview(account: AccountReadinessFields): boolean;