import type http from "node:http";
import { type SseEvent } from "@steipete/summarize-core/runtime";
export type BufferedSseChannel = {
    buffer: Array<{
        event: SseEvent;
        bytes: number;
    }>;
    bufferBytes: number;
    clients: Set<http.ServerResponse>;
    done: boolean;
};
export declare function createBufferedSseChannel(): BufferedSseChannel;
export declare function pushBufferedSseEvent(channel: BufferedSseChannel, event: SseEvent): void;
export declare function closeBufferedSseChannel(channel: BufferedSseChannel): void;
