import type { AbortableAsyncMapper } from '@naturalcycles/js-lib/types'; import type { TransformLogProgressOptions, TransformMapOptions } from '../index.js'; export interface NDJSONMapOptions extends TransformMapOptions, TransformLogProgressOptions { inputFilePath: string; outputFilePath: string; limitInput?: number; limitOutput?: number; /** * @default 100_000 */ logEveryOutput?: number; } /** * Unzips input file automatically, if it ends with `.gz`. * Zips output file automatically, if it ends with `.gz`. * * @deprecated use Pipeline directly */ export declare function ndjsonMap(mapper: AbortableAsyncMapper, opt: NDJSONMapOptions): Promise;