"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var Node = /** @class */ (function () {
    function Node(RED) {
        this.red = RED;
    }
    Node.prototype.createNode = function (config) {
        this.red.nodes.createNode(this, config);
    };
    Node.registerType = function (RED, type, opts) {
        RED.nodes.registerType(type, this.prototype.constructor, opts);
    };
    return Node;
}());
exports.Node = Node;
//# sourceMappingURL=Node.js.map