export class StubBillingStateGateway {
    state = {
        dispatchPaused: false,
        lastAuditAt: null,
        lastRegressionReason: null,
    };
    read() {
        return { ...this.state };
    }
    pause(reason, auditedAt = new Date().toISOString()) {
        this.state = {
            dispatchPaused: true,
            lastAuditAt: auditedAt,
            lastRegressionReason: reason,
        };
    }
    resume(auditedAt = new Date().toISOString()) {
        this.state = {
            dispatchPaused: false,
            lastAuditAt: auditedAt,
            lastRegressionReason: null,
        };
    }
    recordHealthy(auditedAt = new Date().toISOString()) {
        this.state = {
            ...this.state,
            lastAuditAt: auditedAt,
            lastRegressionReason: null,
        };
    }
}
//# sourceMappingURL=billingState.stub.js.map