Object.defineProperty(exports, "__esModule", { value: true });
var studiomonitor_api_1 = require("studiomonitor-api");
var axios = require('axios').default;
module.exports = function (api) {
    //Register a action
    api.registerAction('source', require('./actions/source'));
    api.registerConnectionValidator('studiomonitor', function (ValidatorAPI) {
        var monitor = new studiomonitor_api_1.StudioMonitor(ValidatorAPI.properties.ip, ValidatorAPI.properties.port, function (err) {
            ValidatorAPI.callback(err == undefined, err == undefined ? null : 'Unable to connect to the StudioMonitor.');
            ValidatorAPI.setInstance(monitor);
        });
    });
};
//# sourceMappingURL=ndiTools.js.map