import { Tag } from '../constants.js';
import type { unpackTx as unpackTxType, buildTx as buildTxType } from '../index.js';
declare const _default: {
    serialize(_value: number | undefined, { tag, rebuildTx, unpackTx, buildTx, _computingGasLimit, }: {
        tag: Tag;
        rebuildTx: (params: any) => any;
        unpackTx: typeof unpackTxType;
        buildTx: typeof buildTxType;
        _computingGasLimit?: number;
    }, { gasMax }: {
        gasMax?: number;
    }): Buffer;
    deserialize(value: Buffer): number;
};
export default _default;
