function shouldSkipTypescriptNamespace(node, nodes) {
  const types = new Set(Array.from(nodes, (node) => node.parent.type));

  return !isTypescriptNamespaceMerging(nodes)
    && node.parent.type === 'TSModuleDeclaration'
    && (
      types.has('TSEnumDeclaration')
      || types.has('ClassDeclaration')
      || types.has('FunctionDeclaration')
      || types.has('TSDeclareFunction')
    );
}
Detect if a typescript namespace node should be reported as multiple export:
```ts
export class Foo { }
export function Foo();
export namespace Foo { }
```
@param {Object} node
@param {Set<Object>} nodes
@returns {boolean}