/** Buffered consumption of the knowledge chat SSE stream: deltas concatenate into one complete answer. */ export interface ChatResult { answer: string; requestId?: string; } /** * Consume one chat SSE response to completion. * @param res - the SSE response from KbClient.postSse. * @returns the concatenated answer and the last seen request id. */ export declare function consumeChatStream(res: Response): Promise;