UNPKG

claude-usage-tracker

Version:

Advanced analytics for Claude Code usage with cost optimization, conversation length analysis, and rate limit tracking

22 lines 605 B
import type { UsageEntry } from "./types.js"; export declare class IncrementalDataLoader { private fileStates; private processedEntries; /** * Load only new entries since the last check */ loadNewEntries(): Promise<UsageEntry[]>; /** * Read only the new portion of a file */ private readFileIncremental; /** * Load all historical data (for initial load) */ loadAllData(): Promise<UsageEntry[]>; /** * Clear the cache (useful for forcing a full reload) */ clearCache(): void; } //# sourceMappingURL=incremental-loader.d.ts.map