import type { PathBuilderLike } from "path-ts"; import { type RowLicenses } from "#source-register/row-license"; /** * Options for {@linkcode jsonlToParquet}. */ export interface JSONLToParquetOptions { /** * The labeled-row jsonl to convert. */ input: PathBuilderLike; /** * The parquet file to write. */ output: PathBuilderLike; /** * Parquet row-group size. * * @defaultValue `50000` */ rowGroupSize?: number; /** * @defaultValue {@linkcode committedRowLicenses} */ licenses?: RowLicenses; } /** * Summary returned by {@linkcode jsonlToParquet}. */ export interface JSONLToParquetSummary { read: number; written: number; outPath: string; /** * The producers' license statements the converter replaced with the register's id, * with the rows under each. */ licenseStatements: Record; } /** * Convert a labeled-row jsonl to a v0.5.0-schema Parquet file. */ export declare function jsonlToParquet(options: JSONLToParquetOptions, report?: (line: string) => void): Promise; //# sourceMappingURL=jsonl-to-parquet.d.ts.map