title: how to export constructor in a declare module
body: <p>I want use inline-style-prefixer like:</p>
  
  
  
  <pre class="lang-js prettyprint-override"><code>var InlineStylePrefixer = require('inline-style-prefixer');
  
  ...
  
  var prefixer = new InlineStylePrefixer(userAgent);
  
  
  ...
  var _style = InlineStylePrefixer.prefixAll(style);
  </code></pre>
  
  <p>how to export constructor in a declare module?</p>
  
  
  
  <pre class="lang-js prettyprint-override"><code>declare module "inline-style-prefixer"{
      export function InlineStylePrefixer(useagent:string):void; // error
      export function prefixAll(style:Object):Object;
  }
  </code></pre>