import { AxiosInstance } from 'axios'; import ExchangeInterface from '../interfaces/ExchangeInterface'; import CryptoCoin from '../util/CrytoCoin'; import Order from '../util/Order'; import Ticker from '../util/Ticker'; import Account from '../util/Account'; export default class Binance implements ExchangeInterface { privateApi: AxiosInstance; publicApi: AxiosInstance; baseUrl: string; apiKey: string; secretKey: string; constructor(obj?: Object); axiosInterceptor(config: any): any; getBalance(cryptocoin?: CryptoCoin): Promise; getMyOrders(): Promise; cancelMyAllOrders(cryptocoin?: CryptoCoin): Promise; cancelMyOrder(id: any, cryptocoin?: CryptoCoin): Promise; putOrder(order: Order): Promise; getBuyOrders(cryptocoin: CryptoCoin): Promise; getSellOrders(cryptocoin: CryptoCoin): Promise; getTrades(cryptocoin: CryptoCoin): Promise; getOrders(cryptocoin: CryptoCoin): Promise<{ buyOrderList: Order[]; sellOrderList: Order[]; }>; getTicker(cryptocoin?: CryptoCoin, withVolume?: boolean): Promise; toString(): string; getExchangeName(): string; static getMarket(cryptocoin: CryptoCoin): string; }