import { type Newtype } from "https://deno.land/x/fun@v2.0.0/newtype.ts";
Create a branded type from an existing type. The branded type can be used anywhere the existing type can, but the existing type cannot be used where the branded one can.
It is important to note that while a Newtype looks like a struct, its actual representation is that of the inner type.