import * as plugins from '../../plugins.js';
declare module 'net' {
    interface Socket {
        encrypted?: boolean;
        authorizationError?: Error;
        getTLSVersion?(): string;
        getPeerCertificate?(detailed?: boolean): any;
        getSession?(): Buffer;
        _connectionId?: string;
        _remoteIP?: string;
        _realRemoteIP?: string;
    }
}
export declare function isTLSSocket(socket: plugins.net.Socket): boolean;
export declare function getTLSVersion(socket: plugins.net.Socket): string | null;
