import { type Script } from "https://deno.land/x/lucid@0.5.2/src/mod.ts";
Note: Plutus scripts need to be CBOR encoded. Raw compiled script without the CBOR encoding do not work.
E.g. taking in the CBOR Hex string coming from writeFileTextEnvelope (Haskell) works
definition: { type: ScriptType; script: string; }