# mod.ts
export type * from "./declarations.d.ts";

# declarations.d.ts
import { Test } from "./a.d.ts";

export { Test }

# a.d.ts
export class Test {}

# output
{
  "roots": [
    "file:///mod.ts"
  ],
  "modules": [
    {
      "kind": "esm",
      "size": 21,
      "mediaType": "Dts",
      "specifier": "file:///a.d.ts"
    },
    {
      "kind": "esm",
      "dependencies": [
        {
          "specifier": "./a.d.ts",
          "type": {
            "specifier": "file:///a.d.ts",
            "span": {
              "start": {
                "line": 0,
                "character": 21
              },
              "end": {
                "line": 0,
                "character": 31
              }
            }
          }
        }
      ],
      "size": 50,
      "mediaType": "Dts",
      "specifier": "file:///declarations.d.ts"
    },
    {
      "kind": "esm",
      "dependencies": [
        {
          "specifier": "./declarations.d.ts",
          "type": {
            "specifier": "file:///declarations.d.ts",
            "resolutionMode": "import",
            "span": {
              "start": {
                "line": 0,
                "character": 19
              },
              "end": {
                "line": 0,
                "character": 40
              }
            }
          }
        }
      ],
      "size": 42,
      "mediaType": "TypeScript",
      "specifier": "file:///mod.ts"
    }
  ],
  "redirects": {}
}
