# https://jsr.io/@scope/a/meta.json
{"versions": { "1.0.0": {} } }

# https://jsr.io/@scope/a/1.0.0_meta.json
{ "exports": { ".": "./mod.ts" } }

# https://jsr.io/@scope/a/1.0.0/a.ts
export default class Test {}
export class A {}

# https://jsr.io/@scope/a/1.0.0/mod.ts
export type Example = import("./a.ts").default;

# mod.ts
import 'jsr:@scope/a'

# output
{
  "roots": [
    "file:///mod.ts"
  ],
  "modules": [
    {
      "kind": "esm",
      "dependencies": [
        {
          "specifier": "jsr:@scope/a",
          "code": {
            "specifier": "jsr:@scope/a",
            "resolutionMode": "import",
            "span": {
              "start": {
                "line": 0,
                "character": 7
              },
              "end": {
                "line": 0,
                "character": 21
              }
            }
          }
        }
      ],
      "size": 22,
      "mediaType": "TypeScript",
      "specifier": "file:///mod.ts"
    },
    {
      "kind": "esm",
      "size": 47,
      "mediaType": "TypeScript",
      "specifier": "https://jsr.io/@scope/a/1.0.0/a.ts"
    },
    {
      "kind": "esm",
      "dependencies": [
        {
          "specifier": "./a.ts",
          "type": {
            "specifier": "https://jsr.io/@scope/a/1.0.0/a.ts",
            "resolutionMode": "import",
            "span": {
              "start": {
                "line": 0,
                "character": 29
              },
              "end": {
                "line": 0,
                "character": 37
              }
            }
          }
        }
      ],
      "size": 48,
      "mediaType": "TypeScript",
      "specifier": "https://jsr.io/@scope/a/1.0.0/mod.ts"
    }
  ],
  "redirects": {
    "jsr:@scope/a": "https://jsr.io/@scope/a/1.0.0/mod.ts"
  },
  "packages": {
    "@scope/a@*": "@scope/a@1.0.0"
  }
}

Fast check https://jsr.io/@scope/a/1.0.0/a.ts:
  {}
  export default class Test {
  }
  --- DTS ---
  export default class Test {
  }

Fast check https://jsr.io/@scope/a/1.0.0/mod.ts:
  {
    "./a.ts": {
      "type": {
        "specifier": "https://jsr.io/@scope/a/1.0.0/a.ts",
        "resolutionMode": "import",
        "span": {
          "start": {
            "line": 0,
            "character": 29
          },
          "end": {
            "line": 0,
            "character": 37
          }
        }
      }
    }
  }
  export type Example = import("./a.ts").default;
  --- DTS ---
  export type Example = import("./a.ts").default;
