1 | import { AbortableAsyncMapper } from '@naturalcycles/js-lib';
|
2 | import { TransformMapOptions, TransformLogProgressOptions } from '../..';
|
3 | export interface NDJSONMapOptions<IN = any, OUT = IN> extends TransformMapOptions<IN, OUT>, TransformLogProgressOptions<IN> {
|
4 | inputFilePath: string;
|
5 | outputFilePath: string;
|
6 | limitInput?: number;
|
7 | limitOutput?: number;
|
8 | |
9 |
|
10 |
|
11 | logEveryOutput?: number;
|
12 | |
13 |
|
14 |
|
15 |
|
16 |
|
17 | flattenArrayOutput?: boolean;
|
18 | }
|
19 |
|
20 |
|
21 |
|
22 |
|
23 | export declare function ndjsonMap<IN = any, OUT = any>(mapper: AbortableAsyncMapper<IN, OUT>, opt: NDJSONMapOptions<IN, OUT>): Promise<void>;
|