import { JsonSocket } from '../helpers/json-socket';
import { BaseRpcContext } from './base-rpc.context';
declare type TcpContextArgs = [JsonSocket, string];
export declare class TcpContext extends BaseRpcContext<TcpContextArgs> {
    constructor(args: TcpContextArgs);
    /**
     * Returns the underlying JSON socket.
     */
    getSocketRef(): JsonSocket;
    /**
     * Returns the name of the pattern.
     */
    getPattern(): string;
}
export {};
