ledger v0.7.7decodeTxOutputdecodeTxOutput TODO: save the fact that it is an Object or Tuple representation, so that reserializing leads to the same bytes (and thus the same tx hash) export function decodeTxOutput(bytes: BytesLike): TxOutput