export declare const SYNC_WEB_SOCKET_MSG_TYPE_AUTH_CHALLENGE_INIT = "auth-challenge-init"; export declare const SYNC_WEB_SOCKET_MSG_TYPE_AUTH_INIT = "auth-init"; export declare const SYNC_WEB_SOCKET_MSG_TYPE_AUTH_CHALLENGE = "auth-challenge"; export declare const SYNC_WEB_SOCKET_MSG_TYPE_AUTH_PROOF = "auth-proof"; export declare const SYNC_WEB_SOCKET_MSG_TYPE_AUTH_OK = "auth-ok"; export declare const SYNC_WEB_SOCKET_MSG_TYPE_AUTH_FAIL = "auth-fail"; export declare const SYNC_WEB_SOCKET_MSG_TYPE_SYNC_FRAME = "sync-frame"; export declare const SYNC_WEB_SOCKET_MSG_TYPE_SYNC_FRAME_RESPONSE = "sync-frame-response"; export declare const SYNC_WEB_SOCKET_MSG_TYPE_SYNC_FRAME_AUTHENTICATED = "sync-frame-authenticated"; export declare const SYNC_WEB_SOCKET_MSG_TYPE_SYNC_FRAME_RESPONSE_AUTHENTICATED = "sync-frame-response-authenticated"; export declare const SYNC_WEB_SOCKET_MSG_TYPE_DOMAIN_PAYLOAD = "domain-payload"; export declare const SYNC_WEB_SOCKET_MSG_TYPE_DOMAIN_PAYLOAD_BATCH = "domain-payload-batch"; export declare const SYNC_WEB_SOCKET_MSG_TYPE_SYNC_ERROR = "sync-error"; /** * Message types transmitted over the stateful WebSocket connection * during a sync saga session handshake and execution. */ export type SyncWebSocketMsgType = typeof SYNC_WEB_SOCKET_MSG_TYPE_AUTH_CHALLENGE_INIT | typeof SYNC_WEB_SOCKET_MSG_TYPE_AUTH_INIT | typeof SYNC_WEB_SOCKET_MSG_TYPE_AUTH_CHALLENGE | typeof SYNC_WEB_SOCKET_MSG_TYPE_AUTH_PROOF | typeof SYNC_WEB_SOCKET_MSG_TYPE_AUTH_OK | typeof SYNC_WEB_SOCKET_MSG_TYPE_AUTH_FAIL | typeof SYNC_WEB_SOCKET_MSG_TYPE_SYNC_FRAME | typeof SYNC_WEB_SOCKET_MSG_TYPE_SYNC_FRAME_RESPONSE | typeof SYNC_WEB_SOCKET_MSG_TYPE_SYNC_FRAME_AUTHENTICATED | typeof SYNC_WEB_SOCKET_MSG_TYPE_SYNC_FRAME_RESPONSE_AUTHENTICATED | typeof SYNC_WEB_SOCKET_MSG_TYPE_DOMAIN_PAYLOAD | typeof SYNC_WEB_SOCKET_MSG_TYPE_DOMAIN_PAYLOAD_BATCH | typeof SYNC_WEB_SOCKET_MSG_TYPE_SYNC_ERROR; export declare const SyncWebSocketMsgType: { /** Sent by server/receiver to trigger connection authentication. */ auth_challenge_init: "auth-challenge-init"; /** Sent by client/sender to start the authentication handshake with the target session address. */ auth_init: "auth-init"; /** Sent by server/receiver with dynamic connect challenges to be solved. */ auth_challenge: "auth-challenge"; /** Sent by client/sender with proof of session keystone evolution solving challenges. */ auth_proof: "auth-proof"; /** Sent by server/receiver signaling successful challenge resolution and upgrade to active sync. */ auth_ok: "auth-ok"; /** Sent when authentication fails. */ auth_fail: "auth-fail"; /** Sent by client/sender to transmit the next sync transaction context without payload ibgibs. */ sync_frame: "sync-frame"; /** Sent by server/receiver responding with the next sync transaction context. */ sync_frame_response: "sync-frame-response"; /** Sent by server/receiver after context is validated/authenticated to signal payload transmission. */ sync_frame_authenticated: "sync-frame-authenticated"; /** Sent by client/sender after response context is validated/authenticated to signal payload transmission. */ sync_frame_response_authenticated: "sync-frame-response-authenticated"; /** Sent to stream a single domain payload ibgib. */ domain_payload: "domain-payload"; /** Sent to stream a batch of domain payload ibgibs. */ domain_payload_batch: "domain-payload-batch"; /** Sent when a sync runtime execution error occurs. */ sync_error: "sync-error"; }; export declare const SYNC_WEB_SOCKET_MSG_TYPE_VALID_VALUES: SyncWebSocketMsgType[]; export declare function isSyncWebSocketMsgType(value: any): value is SyncWebSocketMsgType; //# sourceMappingURL=sync-peer-websocket-constants.d.mts.map