export class StubServerConfigGateway {
    entries = new Map();
    addProjectCallCount = 0;
    daemonReachable;
    constructor(options = {}) {
        this.daemonReachable = options.daemonReachable ?? true;
    }
    hasProject(localPath) {
        return this.entries.has(localPath);
    }
    addProject(entry) {
        this.addProjectCallCount++;
        this.entries.set(entry.localPath, { ...entry });
    }
    seedProject(localPath, name = 'my-project') {
        this.entries.set(localPath, { name, localPath, enabled: true });
    }
}
//# sourceMappingURL=serverConfig.stub.js.map