export class StubDaemonServiceGateway {
    currentStatus;
    installResult;
    healthy;
    installCallCount = 0;
    constructor(options = {}) {
        this.currentStatus = options.initialStatus ?? { status: 'active' };
        this.installResult = options.installResult ?? { success: true, requiresSudo: false, error: null };
        this.healthy = options.healthy ?? true;
    }
    async status() {
        return this.currentStatus;
    }
    async install() {
        this.installCallCount++;
        if (this.installResult.success) {
            this.currentStatus = { status: 'active' };
        }
        return this.installResult;
    }
    async waitUntilHealthy(_timeoutMs) {
        return this.healthy;
    }
}
//# sourceMappingURL=daemonService.stub.js.map