import http from "node:http";
import { type SseEvent } from "@steipete/summarize-core/runtime";
export declare function attachBufferedSseSession({ res, cors, buffer, clients, done, afterReplay, }: {
    res: http.ServerResponse;
    cors: Record<string, string>;
    buffer: Array<{
        event: SseEvent;
    }>;
    clients: Set<http.ServerResponse>;
    done: boolean;
    afterReplay?: (() => void) | null;
}): void;
