"use strict";
Object.defineProperty(exports, "__esModule", {
    value: true
});
function _export(target, all) {
    for(var name in all)Object.defineProperty(target, name, {
        enumerable: true,
        get: Object.getOwnPropertyDescriptor(all, name).get
    });
}
_export(exports, {
    get AnalyticsService () {
        return _analytics.AnalyticsService;
    },
    get CSRFTokenManager () {
        return _csrf.CSRFTokenManager;
    },
    get ConfigSecurity () {
        return _configSecurity.ConfigSecurity;
    },
    get LogFormat () {
        return _logger.LogFormat;
    },
    get LogLevel () {
        return _loggertypes.LogLevel;
    },
    get Logger () {
        return _logger.Logger;
    },
    get MonitoringService () {
        return _monitoring.MonitoringService;
    },
    get PERFORMANCE_METRIC_UNITS () {
        return _performance.PERFORMANCE_METRIC_UNITS;
    },
    get PerformanceMonitor () {
        return _performance.PerformanceMonitor;
    },
    get ResourceLoader () {
        return _resourceLoader.ResourceLoader;
    },
    get RuntimeSecurity () {
        return _runtimeSecurity.RuntimeSecurity;
    },
    get TraceIdGenerator () {
        return _traceId.TraceIdGenerator;
    },
    get clearCurrentTraceId () {
        return _traceId.clearCurrentTraceId;
    },
    get convertMetricsToWithUnits () {
        return _performance.convertMetricsToWithUnits;
    },
    get createLogger () {
        return _logger.createLogger;
    },
    get generateTraceId () {
        return _traceId.generateTraceId;
    },
    get getAnalytics () {
        return _analytics.getAnalytics;
    },
    get getCSRFManager () {
        return _csrf.getCSRFManager;
    },
    get getCurrentTraceId () {
        return _traceId.getCurrentTraceId;
    },
    get getMonitoring () {
        return _monitoring.getMonitoring;
    },
    get getTraceIdGenerator () {
        return _traceId.getTraceIdGenerator;
    },
    get initAnalytics () {
        return _analytics.initAnalytics;
    },
    get initCSRFManager () {
        return _csrf.initCSRFManager;
    },
    get initMonitoring () {
        return _monitoring.initMonitoring;
    },
    get initTraceIdGenerator () {
        return _traceId.initTraceIdGenerator;
    },
    get logger () {
        return _logger.logger;
    },
    get parseTraceId () {
        return _traceId.parseTraceId;
    },
    get resourceLoader () {
        return _resourceLoader.resourceLoader;
    },
    get setCurrentTraceId () {
        return _traceId.setCurrentTraceId;
    },
    get waitTime () {
        return waitTime;
    }
});
const _logger = require("./logger");
const _loggertypes = require("./logger.types");
_export_star(require("./errors"), exports);
_export_star(require("./validation"), exports);
_export_star(require("./security"), exports);
const _csrf = require("./csrf");
const _traceId = require("./traceId");
const _performance = require("./performance");
const _monitoring = require("./monitoring");
const _resourceLoader = require("./resourceLoader");
const _configSecurity = require("./configSecurity");
const _runtimeSecurity = require("./runtimeSecurity");
const _analytics = require("./analytics");
function _export_star(from, to) {
    Object.keys(from).forEach(function(k) {
        if (k !== "default" && !Object.prototype.hasOwnProperty.call(to, k)) {
            Object.defineProperty(to, k, {
                enumerable: true,
                get: function() {
                    return from[k];
                }
            });
        }
    });
    return from;
}
const waitTime = (time = 100)=>{
    return new Promise((resolve)=>{
        setTimeout(()=>{
            resolve(true);
        }, time);
    });
};

//# sourceMappingURL=index.js.map