/**
 * SSE API Route: GET /api/sdlc-events
 *
 * Streams SDLC task and sub-task change events to connected web UI clients
 * via Server-Sent Events (SSE).
 *
 * Uses DB polling with a per-connection cache so only deltas are sent.
 * Accepts an optional ?featureId query parameter to scope events to a single
 * feature/epic. Without it, the global SDLC board is streamed (all active tasks).
 *
 * - Polls tasks and sub-tasks every 2 seconds
 * - Compares against cached state and emits only changes
 * - Sends heartbeat comments every 30 seconds to keep connection alive
 * - Cleans up intervals on client disconnect
 */
export declare const dynamic = "force-dynamic";
export type SdlcEventType = 'sdlc_task_created' | 'sdlc_task_updated' | 'sdlc_task_deleted' | 'sdlc_subtask_created' | 'sdlc_subtask_updated' | 'sdlc_subtask_deleted';
export interface SdlcEvent {
    eventType: SdlcEventType;
    entityId: string;
    featureId: string;
    timestamp: string;
    data?: Record<string, unknown>;
}
export declare function GET(request: Request): Promise<Response>;
//# sourceMappingURL=route.d.ts.map