import type { TSchema } from "@sinclair/typebox"; export declare const ProtocolSchemas: Record; export declare const PROTOCOL_VERSION: 3; /** The inclusive range of protocol versions this build can speak. Equal to * PROTOCOL_VERSION today (only v3 exists), but expressing it as a WINDOW lets a * future version be added without a synchronized outage: the handshake * negotiates the highest version both sides support instead of demanding an * exact match (which closed every mismatched client with 1002). */ export declare const MIN_PROTOCOL_VERSION = 3; export declare const MAX_PROTOCOL_VERSION: number; /** Highest protocol version supported by BOTH this server ([MIN,MAX]) and a * client advertising [clientMin, clientMax]; null when the ranges don't overlap. */ export declare function negotiateProtocolVersion(clientMin: number, clientMax: number): number | null;