import { Table } from '../table.js'; import { TypeMap } from '../type.js'; import { FromArg0, FromArg1, FromArg2, FromArg3, FromArg4, FromArg5, RecordBatchReader, RecordBatchFileReader, RecordBatchStreamReader, AsyncRecordBatchFileReader, AsyncRecordBatchStreamReader } from './reader.js'; declare type RecordBatchReaders = RecordBatchFileReader | RecordBatchStreamReader; declare type AsyncRecordBatchReaders = AsyncRecordBatchFileReader | AsyncRecordBatchStreamReader; /** * Deserialize the IPC format into a {@link Table}. This function is a * convenience wrapper for {@link RecordBatchReader}. Opposite of {@link tableToIPC}. */ export declare function tableFromIPC(source: FromArg0 | FromArg2): Table; export declare function tableFromIPC(source: FromArg1): Promise>; export declare function tableFromIPC(source: FromArg3 | FromArg4 | FromArg5): Promise>; export declare function tableFromIPC(source: RecordBatchReaders): Table; export declare function tableFromIPC(source: AsyncRecordBatchReaders): Promise>; export declare function tableFromIPC(source: RecordBatchReader): Table | Promise>; /** * Serialize a {@link Table} to the IPC format. This function is a convenience * wrapper for {@link RecordBatchStreamWriter} and {@link RecordBatchFileWriter}. * Opposite of {@link tableFromIPC}. * * @param table The Table to serialize. * @param type Whether to serialize the Table as a file or a stream. */ export declare function tableToIPC(table: Table, type?: 'file' | 'stream'): Uint8Array; export {};