/** * Parses the SSH software name and version from the version string exchanged via the * initial packets sent between client and server. */ export declare class SshVersionInfo { /** * Attempts to parse an SSH version string into a version info object. */ static tryParse(versionString: string): SshVersionInfo | null; /** * Gets the version info for the current SSH library. */ static getLocalVersion(): SshVersionInfo; private constructor(); private readonly versionString; /** Gets the SSH protocol version, currently always "2.0". */ readonly protocolVersion: string; /** Gets the name of the SSH application or library. */ readonly name: string; /** Gets the version of the SSH application or library. */ readonly version: string | null; /** Returns the original SSH version string that was parsed. */ toString(): string; /** * Gets a value indicating whether this version info represents some version of * this library. */ get isVsSsh(): boolean; private get isVsSshCS(); private get isVsSshTS(); } //# sourceMappingURL=sshVersionInfo.d.ts.map