/** * Read parquet data rows from a file-like object. * Reads the minimal number of row groups and columns to satisfy the request. * * Returns a void promise when complete. * Errors are thrown on the returned promise. * Data is returned in callbacks onComplete, onChunk, onPage, NOT the return promise. * See parquetReadObjects for a more convenient API. * * @param {ParquetReadOptions} options read options * @returns {Promise} resolves when all requested rows and columns are parsed, all errors are thrown here */ export function parquetRead(options: ParquetReadOptions): Promise; /** * @param {ParquetReadOptions} options read options * @returns {AsyncRowGroup[]} */ export function parquetReadAsync(options: ParquetReadOptions): AsyncRowGroup[]; /** * Reads a single column from a parquet file. * * @param {BaseParquetReadOptions} options * @returns {Promise} */ export function parquetReadColumn(options: BaseParquetReadOptions): Promise; /** * This is a helper function to read parquet row data as a promise. * It is a wrapper around the more configurable parquetRead function. * * @param {Omit} options * @returns {Promise[]>} resolves when all requested rows and columns are parsed */ export function parquetReadObjects(options: Omit): Promise[]>; import type { ParquetReadOptions } from '../src/types.js'; import type { AsyncRowGroup } from '../src/types.js'; import type { BaseParquetReadOptions } from '../src/types.js'; import type { DecodedArray } from '../src/types.js'; //# sourceMappingURL=read.d.ts.map