/**
 * Feature-scoped SSE stream for real-time chat updates.
 *
 * This is the single source of truth for chat state changes on the
 * client — the React side drops periodic polling and relies entirely
 * on these events plus a one-shot fetch per (re)connection.
 *
 * Emits named events:
 *   - `delta`         — token chunks (streaming assistant text)
 *   - `log`           — tool use / thinking status text
 *   - `activity`      — structured tool_use / tool_result events
 *   - `interaction`   — agent is asking the user a question
 *   - `message`       — a newly persisted user/assistant/tool message
 *   - `session_status`— session lifecycle transition
 *   - `turn_status`   — turn activity transition (drives "Thinking…")
 *   - `done`          — end-of-turn marker
 *
 * `featureId` is a polymorphic scope key: a feature UUID, `app-<id>`,
 * `repo-<id>`, or `global`.
 */
import type { NextRequest } from 'next/server';
export declare const dynamic = "force-dynamic";
interface RouteParams {
    params: Promise<{
        featureId: string;
    }>;
}
export declare function GET(request: NextRequest, { params }: RouteParams): Promise<Response>;
export {};
//# sourceMappingURL=route.d.ts.map