1 |
|
2 | import { ZlibOptions } from 'zlib';
|
3 | import { NDJsonStats } from './ndjson.model';
|
4 | import { TransformToNDJsonOptions } from './transformToNDJson';
|
5 | export interface PipelineToNDJsonFileOptions extends TransformToNDJsonOptions {
|
6 | filePath: string;
|
7 | |
8 |
|
9 |
|
10 |
|
11 | protectFromOverwrite?: boolean;
|
12 | |
13 |
|
14 |
|
15 | gzip?: boolean;
|
16 | |
17 |
|
18 |
|
19 | zlibOptions?: ZlibOptions;
|
20 | }
|
21 |
|
22 |
|
23 |
|
24 |
|
25 |
|
26 | export declare function pipelineToNDJsonFile(streams: (NodeJS.ReadableStream | NodeJS.WritableStream)[], opt: PipelineToNDJsonFileOptions): Promise<NDJsonStats>;
|