@airgap/etherlink
Version:
The @airgap/etherlink package is an implementation of the ICoinProtocol interface from @airgap/coinlib-core.
5 lines (4 loc) • 405 B
TypeScript
import BigNumber from '@airgap/coinlib-core/dependencies/src/bignumber.js-9.0.0/bignumber';
import { Amount, AmountEnhanced } from '../types/amount';
export declare function newAmount<_Units extends string>(amount: Amount<_Units>): AmountEnhanced<_Units>;
export declare function newAmount<_Units extends string>(amount: number | string | BigNumber, unit: Amount<_Units>['unit']): AmountEnhanced<_Units>;