UNPKG

@synotech/utils

Version:

a collection of utilities for internal use

16 lines (15 loc) 677 B
import BigNumber from 'bignumber.js'; declare class MathCryptography { constructor(); add(...args: string[] | number[]): string; subtract(...args: string[] | number[]): string; multiply(...args: string[] | number[]): string; divide(...args: string[] | number[]): string; isZero(number: BigNumber): boolean; greaterThan(left: string, right: string): boolean; greaterThanOrEqualTo(left: string, right: string): boolean; lessThanOrEqualTo(left: string, right: string): boolean; lessThan(left: string, right: string): boolean; } declare const mathCryptography: MathCryptography; export { MathCryptography, mathCryptography };