import type { TypedFunction } from '../core/function/typed.js'; import type { BigNumber } from '../type/bignumber/BigNumber.js'; type BigNumberType = BigNumber; type NumericValue = number | bigint | BigNumberType; interface FormatOptions { notation: string; wordSize?: number | bigint; } interface HexDependencies { typed: TypedFunction; format: (value: NumericValue, options: FormatOptions) => string; } /** * Format a number as hexadecimal. * * Syntax: * * math.hex(value) * * Examples: * * math.hex(240) // returns "0xf0" * * See also: * * oct * bin * * @param {number | BigNumber} value Value to be stringified * @param {number | BigNumber} wordSize Optional word size (see `format`) * @return {string} The formatted value */ export declare const createHex: import("../utils/factory.js").FactoryFunction; export {}; //# sourceMappingURL=hex.d.ts.map