import { SemVer } from 'semver';
export declare const VERSION = "0.3.1";
export declare const SEM_VERSION: SemVer;
/**
 * Returns whether the client protocol version is compatible with the server protocol version.
 * The client and server are compatible if they either share the same major version or if both are in the `0.x` range and they share the same minor version.
 *
 * After the first major version, minor versions only indicate backwards-compatible changes.
 * In the `0.x` range, minor versions indicate backwards-incompatible changes.
 * Patch versions are ignored for compatibility checks.
 *
 * @param incoming The protocol version of the server or of an incoming message.
 * @param own The protocol version of the client.
 */
export declare function compatibleVersions(incoming: SemVer, own?: SemVer): boolean;
//# sourceMappingURL=version.d.ts.map