UNPKG

@simplito/privmx-webendpoint

Version:

PrivMX Web Endpoint library

13 lines (12 loc) 591 B
import { MockEventQueue } from "./mockEventQueue"; import { Channel } from "../../events"; export declare abstract class MockContainerSubscriber { private queue; abstract containerChannel: Channel; abstract containerElementChannel(id: string): Channel; protected constructor(queue: MockEventQueue); protected subscribeForContainerEvents(): Promise<void>; protected unsubscribeFromContainerEvents(): Promise<void>; protected subscribeForContainerItemEvents(id: string): Promise<void>; protected unsubscribeFromContainerItemEvents(id: string): Promise<void>; }