import { type EventSourceMessage } from "eventsource-parser/stream";
export declare function consumeEventStream({ onChunk, }: {
    onChunk: (chunk: EventSourceMessage) => void;
}): WritableStream<Uint8Array>;
