import { Exchange } from './exchange'; import { Queue } from './queue'; import * as AmqpLib from 'amqplib/callback_api'; import { IBusMessage } from '../../../application/port/bus.message.inteface'; export declare class BusMessage implements IBusMessage { private _contentBuffer; private _fields; private _properties; private _content; private _acked; private _channel; private _message; constructor(); set acked(value: boolean); set contentBuffer(content: any); get contentBuffer(): any; get content(): any; set content(value: any); get fields(): any; set fields(value: any); get properties(): any; set properties(value: any); set channel(value: AmqpLib.Channel); get channel(): AmqpLib.Channel; set message(value: AmqpLib.Message); sendTo(destination: Exchange | Queue, routingKey?: string): void; ack(allUpTo?: boolean): void; ack(message: AmqpLib.Message, channel: AmqpLib.Channel, noAck: boolean, allUpTo?: boolean): void; nack(allUpTo?: boolean, requeue?: boolean): void; nack(message: AmqpLib.Message, channel: AmqpLib.Channel, allUpTo?: boolean, requeue?: boolean): void; reject(requeue: boolean): void; reject(message: AmqpLib.Message, channel: AmqpLib.Channel, requeue: boolean): void; }