export interface TimeSavedRecord {
    patternId: string;
    category: string;
    description: string;
    from: string;
    to: string;
    language: string;
    estimatedTimeSeconds: number;
    timestamp: number;
}
export interface TimeSavedStats {
    totalTimeSavedSeconds: number;
    totalAcceptances: number;
    perCategory: Array<{
        category: string;
        totalSeconds: number;
        count: number;
    }>;
    perLanguage: Array<{
        language: string;
        totalSeconds: number;
        count: number;
    }>;
    topPatterns: Array<{
        patternId: string;
        description: string;
        totalSeconds: number;
        count: number;
    }>;
    dailyTrend: Array<{
        date: string;
        totalSeconds: number;
        count: number;
    }>;
}
export declare function recordTimeSaved(data: {
    patternId: string;
    category?: string;
    description?: string;
    from: string;
    to: string;
    language?: string;
}): TimeSavedRecord;
export declare function getTimeSavedStats(): TimeSavedStats;
export declare function getTimeSavedByPattern(patternId: string): {
    totalSeconds: number;
    count: number;
    records: TimeSavedRecord[];
};
export declare function clearTimeSaved(): void;
//# sourceMappingURL=time-saved.d.ts.map