import BigNumber from 'bignumber.js'; import { Contracts } from './Contracts'; import { BigNumberable, CallOptions, Price, TradeResult, address } from '../lib/types'; export declare function makeLiquidateTradeData(amount: BigNumberable, isBuy: boolean, allOrNothing: boolean): string; export declare class Liquidation { private contracts; private liquidation; constructor(contracts: Contracts); get address(): string; /** * Use eth_call to simulate the result of calling the trade() function. */ trade(sender: address, maker: address, taker: address, price: Price, amount: BigNumber, isBuy: boolean, allOrNothing?: boolean, traderFlags?: BigNumber, options?: CallOptions): Promise; }