constructor({config, settings, queries, eventProcessor, providers, domainEvents, prometheusClient}) {
        this.config = config;
        this.settings = settings;
        this.queries = queries;
        this.eventProcessor = eventProcessor;
        this.providers = providers;
        this.domainEvents = domainEvents;
        this.prometheusClient = prometheusClient;

        if (prometheusClient) {
            // @ts-expect-error
            prometheusClient.registerCounter({name: 'email_analytics_aggregate_member_stats_count', help: 'Count of member stats aggregations'});
        }
    }
@param {object} dependencies
@param {object} dependencies.config
@param {object} dependencies.settings
@param {object} dependencies.queries
@param {EmailEventProcessor} dependencies.eventProcessor
@param {object} dependencies.providers
@param {import('@tryghost/domain-events')} dependencies.domainEvents
@param {import('@tryghost/prometheus-metrics')} dependencies.prometheusClient