<% for (var i = 0; i < globals.length; i++) { var def = globals[i]; %>
/** 
 * <%= def.desc %> Build system constant made globally available by `<%= packageName %>`.
 */
declare const <%= def.name %>: <%= def.type %>;
<% } %>
interface Window {

  /** Configuration data related to the server environmen exposed by the build script. */
  __CONFIG: {
    /** Base application URL (value coming server side) */
    baseUrl: string;
  };
}