title: How to declare multiple enum in a single TypeScript file and return under single export statement (so that not exposing individual enums directly)
body: <p>I want to have multiple enums in the same file and export them under single <code>export</code> statement. and when I <code>import</code> this single file in another file, I can access any particular enum as required.</p>
  <p>What I current have: 2 seperate <code>.ts</code> file for Actions and Groups enums,</p>
  <p><strong>First .ts file:</strong></p>
  <pre><code>export enum Actions {
     Delete: &quot;Delete&quot;,
     Update: &quot;Update&quot;
  }
  </code></pre>
  <p><strong>Second .ts file:</strong></p>
  <pre><code>export enum Groups {
     Lead: &quot;Lead&quot;,
     Permanent: &quot;Permanent&quot;
  }
  </code></pre>
  <p><strong>Expected:</strong> I want a single <code>.ts</code> file and a single <code>export</code> statement. Using this <code>export</code>, I can access my both the enums. <code>something like: Enums.Actions or Enums.Groups</code>.</p>
  <p>Groups, Actions should only be accessed by Enums.Actions or Enums.Groups? some other file should not be able to access individual enums directly.</p>
  <p>What is the suggested way to do this?</p>