export declare enum SSEContolChars {
    NewLine = 10,
    CarriageReturn = 13,
    Space = 32,
    Colon = 58
}
/**
 * parser SSE chunk raw data
 * @param stream
 * @param onChunk
 */
export declare function getBytes(stream: ReadableStream<Uint8Array>, onChunk: (arr: Uint8Array) => void): Promise<void>;
export declare function getLines(onLine: (line: Uint8Array, fieldLength: number) => void): (arr: Uint8Array) => void;
