import type { KafkaConfig } from "kafkajs";
export declare class ServeKafka {
    private consumerPath;
    private producerPath;
    private config;
    constructor(config: KafkaConfig, consumerPath?: string, producerPath?: string);
    /**
     * Starts all consumers by dynamically importing and initializing consumer classes.
     */
    startConsumers(): Promise<void>;
    /**
     * Starts all producers by dynamically importing and initializing producer classes.
     */
    startProducers(): Promise<void>;
}
//# sourceMappingURL=ServeKafka.d.ts.map