import { getTokenHealth } from '../../credentials/token.js'; export interface AccountRow { email: string; active: boolean; alias: string | undefined; aliases: string[]; hasApiKey: boolean; apiKeyMasked: string | undefined; defaultIsolated: boolean; autoLaunchOnSwitch: boolean; /** Cached subscription usage for this row (only present when the cache * is tagged for this account — i.e. typically the active one). */ usage5h: number | undefined; usageWeek: number | undefined; } export interface Snapshot { rows: AccountRow[]; current: string; fallbackOn: boolean; tokenHealth: ReturnType | null; usage5h: number | undefined; usageWeek: number | undefined; } export declare function loadSnapshot(claudeJsonPath: string, accountsDirPath: string): Snapshot; export interface UseSnapshot { snap: Snapshot; refresh: () => void; } export declare function useSnapshot(claudeJsonPath: string, accountsDirPath: string): UseSnapshot;