export declare function readableStream(func: (stream: any, i: number) => Promise, continueOnError?: boolean): any;