/** * Worktree Stats Tracker - Event-driven worktree usage statistics * * Subscribes to ExplorationEventEmitter and accumulates stats for session tracking */ import type { WorktreeUsageStats } from '../types/session.types.js'; export declare class WorktreeStatsTracker { private activeWorktrees; private explorationIds; private listeners; private maxConcurrent; private totalCreated; private totalDurationMs; private worktreeSummaries; /** * Subscribe to exploration events */ subscribe(): void; /** * Unsubscribe from all exploration events */ unsubscribe(): void; /** * Get current worktree usage statistics snapshot */ getStats(): WorktreeUsageStats; private findSummary; private finishWorktree; private handleWorktreeCompleted; private handleWorktreeCreated; private handleWorktreeFailed; private handleWorktreeStarted; } //# sourceMappingURL=worktree-stats-tracker.d.ts.map