export declare const REALTIME_PROTOCOL_VERSION = 1; export declare const REALTIME_SSE_HANDSHAKE_EVENT = "handshake"; export declare const REALTIME_SSE_TOKEN_EVENT = "token"; export declare const REALTIME_CAP_NO_AWARENESS = "no-awareness"; export declare const REALTIME_CAP_POLL_LIVE = "poll-live"; export declare const REALTIME_POLL_LIVE_QUERY_PARAM = "poll_live"; export interface RealtimeHandshake { protocol: number; capabilities: string[]; } export interface RealtimeTokenFrame { token: string; expiresAt?: string; } export declare function buildHandshakeFrame(capabilities?: readonly string[]): RealtimeHandshake; export declare function parseHandshakeFrame(data: string): RealtimeHandshake | null; export declare function parseTokenFrame(data: string): RealtimeTokenFrame | null;