const KrispModule = require('./discord_krisp.node');

KrispModule._initialize();

KrispModule.getNcModels = function() {
  return new Promise(resolve => {
    KrispModule._getNcModels(models => resolve(models));
  });
};

KrispModule.getVadModels = function() {
  return new Promise(resolve => {
    KrispModule._getVadModels(models => resolve(models));
  });
};

module.exports = KrispModule;
