export class InMemoryStatsGateway {
    storage = new Map();
    loadProjectStats(projectPath) {
        return this.storage.get(projectPath) ?? null;
    }
    saveProjectStats(projectPath, stats) {
        stats.lastUpdated = new Date().toISOString();
        this.storage.set(projectPath, stats);
    }
    statsFileExists(projectPath) {
        return this.storage.has(projectPath);
    }
    clear() {
        this.storage.clear();
    }
}
//# sourceMappingURL=stats.stub.js.map