/**
 * SSE API Route: GET /api/pm-events
 *
 * Streams project management entity 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.
 * Requires a ?projectId query parameter to scope events to a single project.
 *
 * - Polls work items, cycles, and modules 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 PmEventType = 'work_item_created' | 'work_item_updated' | 'work_item_deleted' | 'cycle_created' | 'cycle_updated' | 'cycle_deleted' | 'module_created' | 'module_updated' | 'module_deleted';
export interface PmEvent {
    eventType: PmEventType;
    entityId: string;
    projectId: string;
    timestamp: string;
    data?: Record<string, unknown>;
}
export declare function GET(request: Request): Promise<Response>;
//# sourceMappingURL=route.d.ts.map