import { Testing } from './index'; import BigNumber from 'bignumber.js'; import { icxorderbook } from '@defichain/jellyfish-api-core'; export declare class TestingICX { private readonly testing; symbolDFI: string; symbolBTC: string; accountDFI: string; accountBTC: string; idDFI: string; idBTC: string; ICX_TAKERFEE_PER_BTC: BigNumber; DEX_DFI_PER_BTC_RATE: BigNumber; constructor(testing: Testing); createAccounts(): Promise; setAccounts(address1: string, address2: string): Promise; initializeTokensIds(): Promise; setTakerFee(fee: BigNumber): Promise; closeAllOpenOffers(): Promise; createDFISellOrder({ chainTo, ownerAddress, receivePubkey, amountFrom, orderPrice }: CreateDFISellOrderData): Promise<{ order: icxorderbook.ICXOrder; createOrderTxId: string; }>; createDFIBuyOffer({ orderTx, amount, ownerAddress }: CreateDFIBuyOfferData): Promise<{ offer: icxorderbook.ICXOffer; makeOfferTxId: string; }>; createDFCHTLCForDFIBuyOffer({ offerTx, amount, hash, timeout }: CreateDFCHTLCForDFIBuyOfferData): Promise<{ DFCHTLC: icxorderbook.HTLC; DFCHTLCTxId: string; }>; submitExtHTLCForDFIBuyOffer({ offerTx, amount, hash, htlcScriptAddress, ownerPubkey, timeout }: SubmitExtHTLCForDFIBuyOfferData): Promise<{ ExtHTLC: icxorderbook.ExtHTLC; ExtHTLCTxId: string; }>; } interface CreateDFISellOrderData { chainTo?: string; ownerAddress?: string; receivePubkey: string; amountFrom: BigNumber; orderPrice: BigNumber; } interface CreateDFIBuyOfferData { orderTx: string; amount?: BigNumber; ownerAddress?: string; } interface CreateDFCHTLCForDFIBuyOfferData { offerTx: string; amount: BigNumber; hash: string; timeout?: number; } interface SubmitExtHTLCForDFIBuyOfferData { offerTx: string; amount: BigNumber; hash: string; htlcScriptAddress: string; ownerPubkey: string; timeout?: number; } export {}; //# sourceMappingURL=icxorderbook.d.ts.map