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 BinDependencies { typed: TypedFunction; format: (value: NumericValue, options: FormatOptions) => string; } /** * Format a number as binary. * * Syntax: * * math.bin(value) * * Examples: * * //the following outputs "0b10" * math.bin(2) * * See also: * * oct * hex * * @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 createBin: import("../utils/factory.js").FactoryFunction; export {}; //# sourceMappingURL=bin.d.ts.map