import { JSOptions } from '../values/types'; import { Channel } from './channel'; import { CollectOpts, Collector } from '../types'; import { IsoResponse } from '../client/types'; export declare class ResultStream { resp: IsoResponse; private ctl; status: 'idle' | 'pending' | 'error' | 'aborted' | 'success'; private currentChannelId; private channelsMap; private _promise?; constructor(resp: IsoResponse, ctl: AbortController); get body(): ReadableStream | null; get promise(): Promise; get channels(): Channel[]; get shapes(): import("..").Type[]; get rows(): import("../values/types").Value[]; channel(id?: number | undefined): Channel; js(opts?: JSOptions): Promise; zed(): Promise; collect(collector: Collector, opts: CollectOpts): Promise; abort(): void; private consume; private consumeLine; }