import { Stan } from 'node-nats-streaming'; import { Event } from './event'; export declare abstract class Publisher { abstract subject: T['subject']; protected client: Stan; constructor(client: Stan); publish(data: T['data']): Promise; }