/****************************************************************************** * * (C) 2022 AhnLab Blockchain Company, Inc. All rights reserved. * Any part of this source code can not be copied with any method without * prior written permission from the author or authorized person. * ******************************************************************************/ import BN from 'bn.js'; /** * Converts a hex string to a BN object * * @param {string} inputHex - A number represented as a hex string * @returns {Object} A BN object * */ declare function hexToBn(inputHex: string): BN; /** * Converts a BN object to a hex string with a '0x' prefix * * @param {BN} inputBn - The BN to convert to a hex string * @returns {string} - A '0x' prefixed hex string * */ declare function bnToHex(inputBn: any): any; declare const BigNumberUtil: { hexToBn: typeof hexToBn; bnToHex: typeof bnToHex; }; export default BigNumberUtil;