/** * @import { Batch } from '../batch.js'; */ import type { Batch } from '../batch.js'; /** * Symbol for the row index value of a struct object proxy. */ export declare const RowIndex: unique symbol; /** * Returns a row proxy object factory. The resulting method takes a * batch-level row index as input and returns an object that proxies * access to underlying batches. * @param {string[]} names The column (property) names * @param {Batch[]} batches The value batches. * @returns {(index: number) => Record} */ export declare function proxyFactory(names: string[], batches: Batch[]): (index: number) => Record; /** * Returns a row object factory. The resulting method takes a * batch-level row index as input and returns an object whose property * values have been extracted from the batches. * @param {string[]} names The column (property) names * @param {Batch[]} batches The value batches. * @returns {(index: number) => Record} */ export declare function objectFactory(names: string[], batches: Batch[]): (index: number) => Record; /** * Return a vanilla object representing a struct (row object) type. * @param {string[]} names The column (property) names * @param {Batch[]} batches The value batches. * @param {number} index The record batch row index. * @returns {Record} */ export declare function structObject(names: string[], batches: Batch[], index: number): Record;