/// <reference types="node" />
import EventEmitter from 'events';
import { SchemaRegistry } from '@kafkajs/confluent-schema-registry';
import { Subscription } from './Subscription';
import { Config } from './buildConfig';
import { PublisherInterface } from './types';
import { KafkaContainer } from './KafkaContainer';
export declare class SubscriptionContainer extends EventEmitter {
    private readonly kafka;
    private readonly publisher;
    private readonly config;
    private readonly registry?;
    private subscriptions;
    constructor(kafka: KafkaContainer, publisher: PublisherInterface, config: Config['subscriptions'], registry?: SchemaRegistry);
    create(name: string): Subscription;
    disconnect(): Promise<void>;
}
//# sourceMappingURL=SubscriptionContainer.d.ts.map