import { PacketMetadata } from '../interfaces/packet.interface.js';
import { BaseRpcContext } from './base-rpc.context.js';
type NatsContextArgs = [string, any];
/**
 * @publicApi
 */
export declare class NatsContext extends BaseRpcContext<NatsContextArgs> {
    constructor(args: NatsContextArgs);
    /**
     * Returns the name of the subject.
     */
    getSubject(): string;
    /**
     * Returns message headers (if exist).
     */
    getHeaders(): any;
    /**
     * Returns the message headers as packet metadata: what the client attached
     * to the packet, and every other header with a single value. A header with
     * several values is only available through `getHeaders()`.
     */
    getMetadata(): PacketMetadata | undefined;
}
export {};
