import type { SubscriberConfig } from "./config.js"; import type { MessageHandler } from "./types.js"; export interface Subscriber { start(topic: string, handler: MessageHandler): Promise; close(): Promise; } export declare function buildSubscriber(cfg: SubscriberConfig): Subscriber; //# sourceMappingURL=subscriber.d.ts.map