/** * Streams events from a reader and calls a callback with each event. * The reader can return partial events or multiple events in a single read, * so this function handles those cases * @param reader - the reader to stream from * @param callback - the callback to call with each event */ export declare const streamEvents: (reader: ReadableStreamDefaultReader, callback: (v: 'done' | {}) => Promise) => Promise;