declaration-only-module/main.ts:5:1 - error SC1010: the './types.js' import (it resolves only to type declarations — there is no runtime implementation to compile) is not supported yet

  4 | // lowered as code).
  5 | import { value } from "./types.js";
    | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  6 | 

  hint: relative imports (./file, ../dir/file), package.json-mediated project imports (#alias via the imports field, self-name references via exports), statically compiled npm packages, and the built-in fs, fs/promises, path, os, url, crypto, zlib, child_process, net, http, tls, https, http2, dgram, dns, dns/promises, util, util/types, string_decoder, querystring, readline, events, stream, stream/promises, stream/consumers, stream/web, buffer, assert, assert/strict, worker_threads, cluster, tty, async_hooks, timers, timers/promises, diagnostics_channel, perf_hooks, module, v8, and console modules (bare or node:-prefixed) and node:test (node:-prefixed only, like in Node) are supported