title: How to reference module in declaration file
body: <p>I've been searching for hours now and can't find a straight answer on this. I am creating a nodejs project which is using the node.d.ts declaration file. </p>
  
  <p>I want to create a new declaration file in my project that will hold all the interfaces. </p>
  
  <p>In this file 'Controller.d.ts' I have the following:</p>
  
  <pre><code>/// &lt;reference path="./interfaces/node.d.ts" /&gt;
  import http = require( "http" );
  
  interface IController
  {
      processRequest( request: http.ServerRequest, response: http.ServerResponse, queryData: any );
  }
  </code></pre>
  
  <p>However by using the import statement in the declaration file, none of the ts files recognise IController. Only if I remove the import does it work. But if I remove the import then the Controller.d.ts file is incorrect as it doesn't know what the "http" module is.</p>
  
  <p>How can I reference the http module in my declaration file? </p>
  
  <p>Any help would be greatly appreciated </p>