import { PacketMetadata } from '../interfaces/packet.interface.js';
import { BaseRpcContext } from './base-rpc.context.js';
type RmqContextArgs = [Record<string, any>, any, string];
/**
 * @publicApi
 */
export declare class RmqContext extends BaseRpcContext<RmqContextArgs> {
    constructor(args: RmqContextArgs);
    /**
     * Returns the original message (with properties, fields, and content).
     */
    getMessage(): Record<string, any>;
    /**
     * Returns the reference to the original RMQ channel.
     */
    getChannelRef(): any;
    /**
     * Returns the name of the pattern.
     */
    getPattern(): string;
    /**
     * Returns the message's `headers` property as packet metadata: what the
     * client attached to the packet, and every other header with a string
     * value. Headers of any other type (numbers, tables, arrays) are only
     * available through `getMessage()`.
     */
    getMetadata(): PacketMetadata | undefined;
}
export {};
