/** * Time Tracker - Parse estimates and calculate actual time * @requirement FREE-TIER-004 - Time Tracking */ export interface TimeEntry { startTime: string; endTime?: string; duration?: number; } export interface TimeTracking { estimatedTime?: string; estimatedHours?: number; actualTime?: number; startedAt?: string; completedAt?: string; timeEntries: TimeEntry[]; } export declare class TimeTracker { /** * Parse estimate string to hours * Supports: "2 days", "4 hours", "1 week", "30m", etc. */ static parseEstimate(estimate: string): number; /** * Calculate actual time from start to end */ static calculateActualTime(startTime: string, endTime: string): number; /** * Format time for display * Examples: "30m", "2.5h", "3d", "2d 4h" */ static formatTime(hours: number): string; /** * Compare estimated vs actual time * Returns: { ratio, status, message } */ static compareTime(estimatedHours: number, actualHours: number): { ratio: number; status: 'under' | 'on-track' | 'over'; message: string; }; }