import { StatusResult } from 'simple-git'; import { EventEmitter } from 'events'; export interface GitState { branch: string; status: StatusResult; recentCommits: GitCommit[]; stagedDiff: string; unstagedDiff: string; } export interface GitCommit { hash: string; message: string; author: string; date: string; files: string[]; } export declare class GitWatcher extends EventEmitter { private git; private projectDir; private pollInterval; private lastCommitHash; private lastBranch; constructor(projectDir: string); start(intervalMs?: number): Promise; stop(): void; private poll; getFullState(): Promise; getDiffForCommit(hash: string): Promise; getFileHistory(filePath: string, count?: number): Promise; } //# sourceMappingURL=git-watcher.d.ts.map