import { Router } from 'express'; import type { ServerResponse } from 'node:http'; export interface ReportSlot { slotId: string; html: string; priority: number; updatedAt: number; } export interface ReportStore { get(slotId: string): ReportSlot | undefined; update(slotId: string, html: string, priority: number): void; delete(slotId: string): void; getAll(): Record; getAllSorted(): ReportSlot[]; } export declare function createReportStore(): ReportStore; /** * Broadcast an SSE-formatted payload to all connected clients. */ export declare function broadcastReportUpdate(clients: Set, data: Record): void; /** * Create an Express Router that exposes report slot CRUD + SSE stream. */ export declare function createReportRouter(store: ReportStore, sseClients: Set): Router; //# sourceMappingURL=report-handler.d.ts.map