import { PubSubAsyncIterableIterator } from './pubsub-async-iterable-iterator'; export declare abstract class PubSubEngine { abstract publish(triggerName: string, payload: any): Promise; abstract subscribe(triggerName: string, onMessage: Function, options: Object): Promise; abstract unsubscribe(subId: number): any; asyncIterableIterator(triggers: string | readonly string[]): PubSubAsyncIterableIterator; }