import type { Axios } from 'axios'; import type { Store } from '../../store/store.interface'; import type { Balance, Candle, ExchangeOptions, Market, OHLCVOptions, Order, OrderBook, PlaceOrderOpts, Position, Ticker } from '../../types'; import { BaseExchange } from '../base'; import { WooPrivateWebscoket } from './woo.ws-private'; import { WooPublicWebsocket } from './woo.ws-public'; export declare class WOOXExchange extends BaseExchange { name: string; xhr: Axios; publicWebsocket: WooPublicWebsocket; privateWebsocket: WooPrivateWebscoket; private accountLeverage; constructor(opts: ExchangeOptions, store: Store); dispose: () => void; getAccount: () => Promise<{ userId: any; affiliateId: any; }>; validateAccount: () => Promise; start: () => Promise; tick: () => Promise; fetchBalance: () => Promise; fetchMarkets: () => Promise; fetchTickers: () => Promise; fetchPositions: () => Promise; fetchOrders: () => Promise; fetchOHLCV: (opts: OHLCVOptions) => Promise; listenOHLCV: (opts: OHLCVOptions, callback: (candle: Candle) => void) => () => void; listenOrderBook: (symbol: string, callback: (orderBook: OrderBook) => void) => () => void; fetchLimitOrders: () => Promise; mapLimitOrder: (o: Record) => Order | null; fetchAlgoOrders: () => Promise; mapAlgoOrder: (o: Record) => any; cancelOrders: (orders: Order[]) => Promise; cancelAlgoOrder: (order: Order) => Promise; placeOrder: (opts: PlaceOrderOpts) => Promise; placeAlgoOrder: (opts: PlaceOrderOpts) => Promise; placeTrailingStopLossOrder: (opts: PlaceOrderOpts) => Promise; placePositionalAlgoOrder: (opts: Pick) => Promise; cancelAllOrders: () => Promise; cancelSymbolOrders: (symbol: string) => Promise; setLeverage: (_symbol: string, inputLeverage: number) => Promise; setAllLeverage: (inputLeverage: number) => Promise; changePositionMode: (_hedged: boolean) => Promise; private isAlgoOrder; }