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