import type { SyncRequestContext } from './context.js'; /** * Decode and validate the request, then return the streaming response. * Request-validation failures (§1.7) throw `SyncError` here, before any * bytes are produced; adapters map them to HTTP JSON errors (§1.1). */ export declare function createSyncResponseStream(bytes: Uint8Array, ctx: SyncRequestContext): Promise>; /** Byte-concatenating wrapper over the streaming core (§1.4). */ export declare function handleSyncRequest(bytes: Uint8Array, ctx: SyncRequestContext): Promise;