import { CommentMessage } from '../stores/class/config/commentsConfig'; import { default as WssConnection } from './wss'; export default class CommentEngine { uri: string; connection: WssConnection | undefined; subscribedEventComment: number | undefined; constructor(wssDomain: string); initialize(): Promise; close(): Promise; subscribeToPodcastCommentEventBus(podcastId: number, queueName: string, callback: (jsonMessage: CommentMessage) => void): void; unsubscribeToPodcastCommentEventBus(podcastId: number, queueName: string): void; isPodcastCommentEventConnected(podcastId: number): boolean; }