///
///
import { Stream } from 'stream';
/**
* @description lineNum start from 0
* */
export declare function readStreamByLine(stream: NodeJS.ReadableStream, _onLine?: (line: string, lineNum: number) => void, _onError?: (e: Error) => void, _onComplete?: () => void): Stream;
export declare function readStreamAllLine(stream: NodeJS.ReadableStream): Promise;
export declare function readStreamAsString(stream: NodeJS.ReadableStream, lineFeed?: string): Promise;