import { Readable } from 'stream'; export declare function processStreamByLine(stream: Readable, onLine: (line: string) => void): Promise;