import BigNumber from 'bignumber.js'; import { Contracts } from './Contracts'; import { Orders } from './Orders'; import { BigNumberable, Fee, Price, SendOptions, SignedOrder, TxResult, address } from '../lib/types'; export declare class TradeOperation { private contracts; private orders; private trades; private committed; constructor(contracts: Contracts, orders: Orders); fillSignedOrder(order: SignedOrder, amount: BigNumber, price: Price, fee: Fee): this; liquidate(maker: address, taker: address, amount: BigNumberable, isBuy: boolean, allOrNothing: boolean): this; deleverage(maker: address, taker: address, amount: BigNumberable, isBuy: boolean, allOrNothing: boolean): this; commit(options?: SendOptions): Promise; addTradeArg({ maker, taker, trader, data, }: { maker: address; taker: address; trader: address; data: string; }): this; }