import { PacketMetadata } from '../interfaces/packet.interface.js';
import { BaseRpcContext } from './base-rpc.context.js';
type RedisContextArgs = [string, PacketMetadata?];
/**
 * @publicApi
 */
export declare class RedisContext extends BaseRpcContext<RedisContextArgs> {
    constructor(args: RedisContextArgs);
    /**
     * Returns the name of the channel.
     */
    getChannel(): string;
    /**
     * Returns the metadata the client attached to the packet, if any.
     */
    getMetadata(): PacketMetadata | undefined;
}
export {};
