export interface Telemetry { tokens_in?: number; tokens_out?: number; /** Live context-window size from the last turn_end (pi's getContextUsage). */ context_tokens?: number; model?: string; updated_at?: string; } /** Read a node's telemetry record. Missing/corrupt → {}. Never throws. */ export declare function readTelemetry(nodeId: string): Telemetry; /** The node's current context-window size in tokens, or null when unknown. * Prefers the live `context_tokens` gauge; falls back to cumulative * `tokens_in` (the dashboard's coarse proxy) only when no live gauge exists. */ export declare function readContextTokens(nodeId: string): number | null;