CML

Opt out and use the CML.

Lucid is built on the cardano-multiplatform-lib (CML), but utilizes a customized fork that can be accessed here. If Lucid doesn't offer an API that meets your specific needs, you have the option to use the CML directly:

import { C } from "https://deno.land/x/lucid/mod.ts";

const output: C.TransactionOutput = C.TransactionOutput.new(
  C.Address.from_bech32("..."),
  C.Value.zero(),
);