/// /// /** @ignore */ export declare const ITERATOR_DONE: any; /** @ignore */ export declare type FileHandle = import('fs').promises.FileHandle; /** @ignore */ export declare type ArrowJSONLike = { schema: any; batches?: any[]; dictionaries?: any[]; }; /** @ignore */ export declare type ReadableDOMStreamOptions = { type: 'bytes' | undefined; autoAllocateChunkSize?: number; highWaterMark?: number; }; /** @ignore */ export declare class ArrowJSON { private _json; constructor(_json: ArrowJSONLike); get schema(): any; get batches(): any[]; get dictionaries(): any[]; } /** @ignore */ export interface Readable { readonly closed: Promise; cancel(reason?: any): Promise; read(size?: number | null): Promise; peek(size?: number | null): Promise; throw(value?: any): Promise>; return(value?: any): Promise>; next(size?: number | null): Promise>; } /** @ignore */ export interface Writable { readonly closed: Promise; close(): void; write(chunk: T): void; abort(reason?: any): void; } /** @ignore */ export interface ReadableWritable extends Readable, Writable { [Symbol.asyncIterator](): AsyncIterableIterator; toDOMStream(options?: ReadableDOMStreamOptions): ReadableStream; toNodeStream(options?: import('stream').ReadableOptions): import('stream').Readable; } /** @ignore */ export declare abstract class ReadableInterop { abstract toDOMStream(options?: ReadableDOMStreamOptions): ReadableStream; abstract toNodeStream(options?: import('stream').ReadableOptions): import('stream').Readable; tee(): [ReadableStream, ReadableStream]; pipe(writable: R, options?: { end?: boolean; }): R; pipeTo(writable: WritableStream, options?: StreamPipeOptions): Promise; pipeThrough>(duplex: { writable: WritableStream; readable: R; }, options?: StreamPipeOptions): ReadableStream; protected _DOMStream?: ReadableStream; private _getDOMStream; protected _nodeStream?: import('stream').Readable; private _getNodeStream; } /** @ignore */ declare type Resolution = { resolve: (value: T | PromiseLike) => void; reject: (reason?: any) => void; }; /** @ignore */ export declare class AsyncQueue extends ReadableInterop implements AsyncIterableIterator, ReadableWritable { protected _values: TWritable[]; protected _error?: { error: any; }; protected _closedPromise: Promise; protected _closedPromiseResolve?: (value?: any) => void; protected resolvers: Resolution>[]; constructor(); get closed(): Promise; cancel(reason?: any): Promise; write(value: TWritable): void; abort(value?: any): void; close(): void; [Symbol.asyncIterator](): this; toDOMStream(options?: ReadableDOMStreamOptions): ReadableStream; toNodeStream(options?: import('stream').ReadableOptions): import("stream").Readable; throw(_?: any): Promise; return(_?: any): Promise; read(size?: number | null): Promise; peek(size?: number | null): Promise; next(..._args: any[]): Promise>; protected _ensureOpen(): boolean; } export {};