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