2020-12-24 08:03:28 +00:00
|
|
|
import { QueueType } from './types/Types'
|
|
|
|
import { EntityUser } from './interfaces/Interfaces'
|
2021-06-15 15:36:22 +00:00
|
|
|
|
2020-12-22 05:29:13 +00:00
|
|
|
declare class ExchangeHub {
|
|
|
|
private readonly connection
|
2020-12-24 08:03:28 +00:00
|
|
|
onOffer: any
|
|
|
|
onOfferCancel: any
|
|
|
|
onTradeEvent: any
|
|
|
|
onMessage: any
|
|
|
|
onMessageHistory: any
|
2020-12-22 05:29:13 +00:00
|
|
|
constructor ();
|
|
|
|
private readonly start
|
|
|
|
private readonly onClosed
|
2020-12-24 08:03:28 +00:00
|
|
|
sendChatMessage (message: string, accountid: string, auth: EntityUser, ticker: string, tradeState: QueueType): Promise<any>;
|
2020-12-22 05:29:13 +00:00
|
|
|
getMessageHistory (): Promise<any>;
|
|
|
|
}
|
|
|
|
export default ExchangeHub
|