"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.HUMANOID_R15_TEMPLATE_ID = exports.HUMANOID_R6_TEMPLATE_ID = exports.getHumanoidTemplate = void 0;
const humanoid_r6_json_1 = __importDefault(require("./humanoid_r6.json"));
const humanoid_r15_json_1 = __importDefault(require("./humanoid_r15.json"));
const TEMPLATE_REGISTRY = {
    humanoid_r6: humanoid_r6_json_1.default,
    humanoid_r15: humanoid_r15_json_1.default,
};
const getHumanoidTemplate = (id) => {
    const template = TEMPLATE_REGISTRY[id];
    if (!template) {
        throw new Error(`Unknown humanoid template: ${id}`);
    }
    return JSON.parse(JSON.stringify(template));
};
exports.getHumanoidTemplate = getHumanoidTemplate;
exports.HUMANOID_R6_TEMPLATE_ID = 'humanoid_r6';
exports.HUMANOID_R15_TEMPLATE_ID = 'humanoid_r15';
//# sourceMappingURL=index.js.map