/** * Git commit types based on message analysis */ export declare enum GitCommitType { BUG_FIX = "bug_fix", FEATURE = "feature", REFACTOR = "refactor", NORMAL = "normal" } /** * Git commit information extracted from git log */ export interface GitCommitInfo { hash: string; shortHash: string; message: string; author: string; date: Date; filesChanged?: number; linesAdded?: number; linesDeleted?: number; } /** * Reward calculation result for a single commit */ export interface GitRewardResult { commitType: GitCommitType; baseCoins: number; baseXP: number; nightBonus: boolean; largeBonus: boolean; totalCoins: number; totalXP: number; bonusReasons: string[]; } /** * Result of processing git commits */ export interface GitProcessResult { success: boolean; newCommits: number; totalCoins: number; totalXP: number; streak: number; rewards: GitCommitReward[]; error?: string; } /** * Single commit reward details */ export interface GitCommitReward { shortHash: string; message: string; type: GitCommitType; coins: number; xp: number; bonuses: string[]; } /** * Git statistics for display */ export interface GitStats { totalCommits: number; currentStreak: number; lastCommitHash?: string; lastCommitDate?: string; } //# sourceMappingURL=git.d.ts.map