export interface MetricEvent { type: "dispatched" | "completed" | "blocked" | "plan_created" | "auto_promoted" | "daily_limit_hit" | "time_limit_hit" | "expired"; taskID: string; taskTitle: string; directory: string; priority: string; timestamp: number; durationMs?: number; } export interface Metrics { events: MetricEvent[]; startedAt: number; } export declare function loadMetrics(filePath: string): Metrics; export declare function saveMetrics(filePath: string, metrics: Metrics): void; export declare function recordMetric(filePath: string, event: Omit): void; export declare function getDispatchedToday(filePath: string): number; export declare function formatStats(filePath: string): string;