import type { UsageEvent, UsageStats, ToolHealthEntry, PricingTier } from '../../types/index.js';
/**
 * Computes full UsageStats from a set of events and runtime context.
 * All parameters are passed in — no I/O performed here.
 */
export declare function calculateUsageStats(events: readonly UsageEvent[], activeSpecs: number, activeProjects: number, currentTier: PricingTier, daysSinceFirstRun: number, isTrialActive: boolean, remainingDailyCalls: number): UsageStats;
export declare function buildToolHealthBreakdown(events: readonly UsageEvent[], allKnownTools?: readonly string[]): {
    breakdown: ToolHealthEntry[];
    deadTools: string[];
};
/**
 * Formats a UsageStats object as a readable markdown report.
 */
export declare function formatStatsAsMarkdown(stats: UsageStats): string;
//# sourceMappingURL=stats.d.ts.map