"use strict";
// Copyright 2023 IOTA Stiftung
// SPDX-License-Identifier: Apache-2.0
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
    if (k2 === undefined) k2 = k;
    var desc = Object.getOwnPropertyDescriptor(m, k);
    if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
      desc = { enumerable: true, get: function() { return m[k]; } };
    }
    Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {
    if (k2 === undefined) k2 = k;
    o[k2] = m[k];
}));
var __exportStar = (this && this.__exportStar) || function(m, exports) {
    for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.BlockBodyDiscriminator = void 0;
const block_body_1 = require("./block-body");
const basic_1 = require("./basic");
const validation_1 = require("./validation");
__exportStar(require("./block"), exports);
__exportStar(require("./block-body"), exports);
__exportStar(require("./basic"), exports);
__exportStar(require("./validation"), exports);
// Here because in block-body.ts it causes a circular dependency
exports.BlockBodyDiscriminator = {
    property: 'type',
    subTypes: [
        { value: basic_1.BasicBlockBody, name: block_body_1.BlockBodyType.Basic },
        { value: validation_1.ValidationBlockBody, name: block_body_1.BlockBodyType.Validation },
    ],
};
//# sourceMappingURL=index.js.map