code: function selectedFxToImportSyntax(selectedFx) {
      var syntax = "";
      var functions = {};
      //deprecated functions
      //const fxStateSyntax = fxStatesToSyntaxArray( selectedFx.states ).join()
      //syntax += fxStateSyntax
      if (selectedFx.triggers.length) {
          var fxTriggSyntax = fxTriggersToSyntaxArray(selectedFx.triggers);
          /*if( selectedFx.states.length ){
            syntax += ','
          }*/
          syntax += fxTriggSyntax.string;
          fxTriggSyntax.functions.map(function (f) { return functions[f.name] = f; });
      }
      var functionsString = "";
      for (var key in functions) {
          var f = functions[key];
          functionsString += "\nexport " + f.toString() + "\n";
      }
      //AnimationTriggerMetadata, state
      return 'import { group, query, stagger, animateChild, trigger,style,transition,animate,keyframes } from "@angular/animations"\n' +
          functionsString +
          '\nexport const animations = [' + syntax + ']';
  }
docs: const childStags = require('../dist/animations/childStag').childStags;