SpecVersion is not properly exported, which makes using DynamicScheme constructors a little messy as we have to cast inputs to 2021 | 2025 instead of the imported SpecVersion type. We could import directly from the color_spec.js file, but this doesn't work with tsconfig moduleResolution set to bundler.
Adding export * from './dynamiccolor/color_spec'; to the root index.ts file should fix it.