import { Router } from 'express';
import { AnyServiceEventListener, AnyServiceEventSubscriber } from '../../core';
export declare class PubSubPushMessageListener {
    private subscribers;
    constructor();
    createSubscriber(topic: string): Promise<_PubSubEventSubscriber>;
    listen(port: number, path?: string): void;
    router(path: string): Router;
    private handlePushMessage;
}
declare class _PubSubEventSubscriber implements AnyServiceEventSubscriber {
    private listeners;
    private anyListener?;
    constructor();
    handleMessage(pubsubData: string): Promise<void>;
    on(name: string, listener: AnyServiceEventListener): void;
}
export {};
//# sourceMappingURL=event-subscriber.d.ts.map