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