# old/mod.ts
export namespace Utils {
  export function foo() {}
  export function bar() {}
}

# new/mod.ts
export namespace Utils {
  export function foo() {}
}

# output.json
{
  "modifiedModules": {
    "file:///mod.ts": {
      "modified": [
        {
          "name": "Utils",
          "declarations": {
            "modified": [
              {
                "kind": "namespace",
                "defChanges": {
                  "type": "namespace",
                  "removedElements": [
                    {
                      "name": "bar",
                      "declarations": [
                        {
                          "location": {
                            "filename": "file:///mod.ts",
                            "line": 2,
                            "col": 2,
                            "byteIndex": 54
                          },
                          "declarationKind": "export",
                          "kind": "function",
                          "def": {
                            "params": [],
                            "returnType": {
                              "repr": "void",
                              "kind": "keyword",
                              "value": "void"
                            },
                            "hasBody": true
                          }
                        }
                      ]
                    }
                  ]
                }
              }
            ]
          }
        }
      ]
    }
  }
}
