"use strict";
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
    return c > 3 && r && Object.defineProperty(target, key, r), r;
};
function __export(m) {
    for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
}
Object.defineProperty(exports, "__esModule", { value: true });
const core_1 = require("@gapi/core");
const amqp_service_1 = require("./amqp.service");
const amqp_config_service_1 = require("./amqp-config.service");
let GapiAmqpModule = class GapiAmqpModule {
    static forRoot(config) {
        core_1.Container.set(amqp_service_1.GapiPubSubService, new amqp_service_1.GapiPubSubService(config));
        return amqp_service_1.GapiPubSubService;
    }
};
GapiAmqpModule = __decorate([
    core_1.GapiModule({
        services: [
            amqp_config_service_1.AmqpConfigService
        ]
    })
], GapiAmqpModule);
exports.GapiAmqpModule = GapiAmqpModule;
__export(require("./amqp.service"));
__export(require("./amqp.interface"));
__export(require("./amqp-config.service"));
