///
import amqp from 'amqplib';
import { RabbitmqComponentConfig } from './index';
export declare const jsonReplacer: (key: string, value: any) => any;
export declare const isObject: (obj: any) => boolean;
export declare class RabbitmqProducer {
private componentConfig;
private connection;
private channel;
private timeoutId;
private channelIsClosing;
private connectionIsClosing;
constructor(componentConfig?: RabbitmqComponentConfig);
private getConnection;
private getChannel;
private timeout;
parseToBuffer(message: any): Buffer;
produce(queue: string, content: any, durable?: boolean, persistent?: boolean): Promise;
publish(exchange: string, routingKey: string | string[], message: any, options?: amqp.Options.Publish): Promise;
}