export declare function readStreamWithSizeLimit({ stream, maxSizeMB, onSizeExceededErrorHandler, }: {
    stream: ReadableStream<Uint8Array>;
    maxSizeMB: number;
    onSizeExceededErrorHandler: () => never;
}): Promise<Buffer>;
//# sourceMappingURL=read-stream-with-size-limit.d.ts.map