/** * chat-prompt.ts — 发送消息(异步,前端通过 SSE 收取增量) * * POST /api/chat/prompt * Body: * { * sessionId: string, * parts: Array<{ type: 'text', text: string } | { type: 'file', mime: string, url: string, filename?: string }>, * providerId?: string, * modelId?: string, * agent?: string, * variant?: string, * directory?: string * } * * 成功返回 { ok: true },模型输出由 /api/chat/events SSE 推送。 * * 见 plan-v2.md 第四节。 */ import { type Application } from 'express'; export declare function registerChatPromptRoutes(app: Application): void; //# sourceMappingURL=chat-prompt.d.ts.map