import { DexType, PriceType, QuoteType, TradingPool, UITokenAmount } from '../types'; import { OrdersView, OrderBook } from '../../generated/econia/market'; import { HexString, Types } from 'aptos'; import { U64 } from '@manahippo/move-to-ts'; import { App } from '../../generated'; import { RawCoinInfo } from '@manahippo/coin-list'; export declare class EconiaTradingPool extends TradingPool { marketId: U64; static SignerCapabilityStoreAccount: HexString; static OrderBookTableHandle: HexString; orderBook: OrderBook | null; ordersView: OrdersView | null; takerFeeDivisor: U64; app: App | null; constructor(ownerAddr: HexString, xCoinInfo: RawCoinInfo, yCoinInfo: RawCoinInfo, marketId: U64, gasUnits: number); get dexType(): DexType; get poolType(): U64; get xReserve(): number; get yReserve(): number; isStateLoaded(): boolean; private loadTakerFeeDivisor; private loadOrderBook; private loadOrdersView; reloadStateInternal(app: App): Promise; getUiPrice(rawPrice: U64): number; getPrice(): PriceType; isRoutable(fixedOut: boolean, isXtoY: boolean): boolean; getQuote(inputUiAmt: UITokenAmount, isXtoY: boolean): QuoteType; getQuoteWithFixedOutput(outputAmt: number, isXtoY: boolean): QuoteType; makePayload(inputUiAmt: UITokenAmount, minOutAmt: UITokenAmount): Types.EntryFunctionPayload; } //# sourceMappingURL=EconiaTradingPool.d.ts.map