/** * VSCodeGitWatcher - Native VS Code Git integration * * Uses VS Code's Git extension API to detect commits in real-time * without polling or running child_process commands. */ export declare class VSCodeGitWatcher { private onPetUpdate; private lastCommitHashes; private disposables; private gitMonitor; constructor(onPetUpdate: () => void); /** * Start watching Git repositories */ start(): void; /** * Initialize repository watching after Git extension is ready */ private initializeWatching; /** * Track a single repository for changes */ private trackRepository; /** * Handle repository state change */ private handleRepoChange; /** * Convert VS Code commit data to GitCommitInfo */ private convertToGitCommitInfo; /** * Process a new commit - calculate rewards and update pet */ private processCommit; /** * Update Git streak based on commit date */ private updateStreak; /** * Format date as YYYY-MM-DD */ private formatDate; /** * Stop watching and dispose resources */ dispose(): void; } //# sourceMappingURL=vscode-watcher.d.ts.map