import type { UsageProvider, UsageReport } from "../usage.js"; /** * Cursor's `/api/usage-summary` has shipped two personal-bucket shapes: * - Enterprise/team dashboards historically exposed `individualUsage.overall` * - Current Pro / Pro+ / Ultra dashboards expose `individualUsage.plan` * (plus optional `onDemand`) * * Prefer a *usable* overall bucket; if overall is absent/disabled/malformed, * fall through to plan rails (`autoPercentUsed` / `apiPercentUsed`). Always * consider on-demand afterward so a valid on-demand meter is not dropped when * the included plan bucket is empty. */ export declare function parseCursorIndividualUsage(payload: unknown, fetchedAt?: number): UsageReport | null; export declare function parseCursorUsage(payload: unknown, fetchedAt?: number): UsageReport | null; export declare const cursorUsageProvider: UsageProvider;