import { TestBedAdapter } from '../test-bed-adapter.mjs';
import { ICanLog, LogLevel } from './index.mjs';
export interface IKafkaLoggerOptions {
    adapter: TestBedAdapter;
    /** Client id: id will be the key of each payload */
    clientId: string;
    /** When true (default), the key is a string instead of an EDXL distribution envelope. */
    stringBasedKey: boolean;
}
/**
 * Based on winston-k
 * source: https://github.com/jackielihf/winston-k/blob/master/logger.js
 */
export declare class KafkaLogger implements ICanLog {
    private adapter;
    private id;
    private isInitialized;
    private stringBasedKey;
    constructor(options: IKafkaLoggerOptions);
    log(level: LogLevel, msg: string, callback: (err?: Error, result?: any) => void): void;
}
