UNPKG

398 BTypeScriptView Raw
1/// <reference types="bn.js" />
2import type { BN } from '../bn/bn.js';
3import type { HexString, NumberOptions, ToBigInt, ToBn } from '../types.js';
4/**
5 * @name nToHex
6 * @summary Creates a hex value from a bigint object.
7 */
8export declare function nToHex<ExtToBn extends ToBn | ToBigInt>(value?: ExtToBn | BN | bigint | number | null, { bitLength, isLe, isNegative }?: NumberOptions): HexString;