import { Tag } from '../constants.js'; import type { unpackTx as unpackTxType, buildTx as buildTxType } from '../index.js'; export default function genTransactionField(tag?: T): { serialize: (value: any, options: { buildTx: typeof buildTxType; }) => Buffer; deserialize: (value: Buffer, options: { unpackTx: typeof unpackTxType; }) => any; };