import { AxiosInstance } from 'axios'; import CryptoCoin from '../util/CrytoCoin'; import Order from '../util/Order'; import { OrderTypeEnum } from '../enums'; import Account from '../util/Account'; import ExchangeInterface from '../Interfaces/ExchangeInterface'; import Ticker from '../util/Ticker'; export default class Bitsaa implements ExchangeInterface { privateApi: AxiosInstance; publicApi: AxiosInstance; baseUrl: string; apiKey: string; secretKey: string; constructor(obj?: Object); static getExtraParams(url: string): object; axiosInterceptor(config: any): any; getBalance(cryptocoin?: CryptoCoin): Promise; getMyOrders(cryptocoin?: CryptoCoin): 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; getTrades(cryptocoin: CryptoCoin): Promise; toString(): string; getExchangeName(): string; }