import type { GatewayClient, AgentChatParams } from "../types.js"; /** * 移除某 session 的流式订阅(cancel 或新消息开始时调用,避免同一事件被多个回调处理导致界面重复) */ export declare function clearSessionStreamSubscription(sessionId: string): void; /** * Handle agent chat request with streaming support */ export declare function handleAgentChat(client: GatewayClient, params: AgentChatParams): Promise<{ status: string; sessionId: string; }>;