# 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.js
/// <reference types="./a.d.ts" />
export class A1 {
  method() {
    return Math.random();
  }
}
export class A2 {}
export class A3 {}

# https://jsr.io/@scope/a/1.0.0/a.d.ts
export class A1 {
  method(): string;
}

export class A2 {}
export class A3 {}

# https://jsr.io/@scope/a/1.0.0/b.js
export class B1 {
  prop = "";
}

# https://jsr.io/@scope/a/1.0.0/b.d.ts
export class B1 {
  prop: string;
}

# https://jsr.io/@scope/a/1.0.0/mod.ts
export * from "./a.js";
export { A1 as A4 } from "./a.js";
import { A3 } from "./a.js";
export { A3 as A5 };
// @deno-types="./b.d.ts"
export * from "./b.js";
// @deno-types="./b.d.ts"
export { B1 as B2 } from "./b.js";
// @deno-types="./b.d.ts"
import { B1 as B3 } from "./b.js";
export { B3 };

# 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": 79,
      "mediaType": "Dts",
      "specifier": "https://jsr.io/@scope/a/1.0.0/a.d.ts"
    },
    {
      "kind": "esm",
      "size": 136,
      "typesDependency": {
        "specifier": "./a.d.ts",
        "dependency": {
          "specifier": "https://jsr.io/@scope/a/1.0.0/a.d.ts",
          "span": {
            "start": {
              "line": 0,
              "character": 21
            },
            "end": {
              "line": 0,
              "character": 31
            }
          }
        }
      },
      "mediaType": "JavaScript",
      "specifier": "https://jsr.io/@scope/a/1.0.0/a.js"
    },
    {
      "kind": "esm",
      "size": 36,
      "mediaType": "Dts",
      "specifier": "https://jsr.io/@scope/a/1.0.0/b.d.ts"
    },
    {
      "kind": "esm",
      "size": 33,
      "mediaType": "JavaScript",
      "specifier": "https://jsr.io/@scope/a/1.0.0/b.js"
    },
    {
      "kind": "esm",
      "dependencies": [
        {
          "specifier": "./a.js",
          "code": {
            "specifier": "https://jsr.io/@scope/a/1.0.0/a.js",
            "resolutionMode": "import",
            "span": {
              "start": {
                "line": 0,
                "character": 14
              },
              "end": {
                "line": 0,
                "character": 22
              }
            }
          }
        },
        {
          "specifier": "./b.js",
          "code": {
            "specifier": "https://jsr.io/@scope/a/1.0.0/b.js",
            "resolutionMode": "import",
            "span": {
              "start": {
                "line": 5,
                "character": 14
              },
              "end": {
                "line": 5,
                "character": 22
              }
            }
          },
          "type": {
            "specifier": "https://jsr.io/@scope/a/1.0.0/b.d.ts",
            "resolutionMode": "import",
            "span": {
              "start": {
                "line": 4,
                "character": 15
              },
              "end": {
                "line": 4,
                "character": 25
              }
            }
          }
        }
      ],
      "size": 296,
      "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.d.ts:
  {}
  export class A1 {
    method(): string;
  }
  export class A2 {
  }
  export class A3 {
  }
  --- DTS ---
  export declare class A1 {
    method(): string;
  }
  export declare class A2 {
  }
  export declare class A3 {
  }

Fast check https://jsr.io/@scope/a/1.0.0/b.d.ts:
  {}
  export class B1 {
    prop: string;
  }
  --- DTS ---
  export declare class B1 {
    prop: string;
  }

Fast check https://jsr.io/@scope/a/1.0.0/mod.ts:
  {
    "./a.d.ts": {
      "code": {
        "specifier": "https://jsr.io/@scope/a/1.0.0/a.d.ts",
        "resolutionMode": "import",
        "span": {
          "start": {
            "line": 0,
            "character": 14
          },
          "end": {
            "line": 0,
            "character": 22
          }
        }
      }
    },
    "./b.d.ts": {
      "code": {
        "specifier": "https://jsr.io/@scope/a/1.0.0/b.d.ts",
        "resolutionMode": "import",
        "span": {
          "start": {
            "line": 5,
            "character": 14
          },
          "end": {
            "line": 5,
            "character": 22
          }
        }
      }
    }
  }
  export * from "./a.d.ts";
  export { A1 as A4 } from "./a.d.ts";
  import { A3 } from "./a.d.ts";
  export { A3 as A5 };
  export * from "./b.d.ts";
  export { B1 as B2 } from "./b.d.ts";
  import { B1 as B3 } from "./b.d.ts";
  export { B3 };
  --- DTS ---
  export * from "./a.d.ts";
  export { A1 as A4 } from "./a.d.ts";
  import { A3 } from "./a.d.ts";
  export { A3 as A5 };
  export * from "./b.d.ts";
  export { B1 as B2 } from "./b.d.ts";
  import { B1 as B3 } from "./b.d.ts";
  export { B3 };
