import { S as Struct, C as Client, e as PipelineOp, f as Call, A as Answer, g as StructCtor, P as Pointer } from './capnp-es.BwLfaDUO.js'; /** * PipelineClient implements Client by calling to the pipeline's answer. */ declare class PipelineClient implements Client { pipeline: Pipeline; constructor(pipeline: Pipeline); transform(): PipelineOp[]; call(call: Call): Answer; close(): void; } /** * A Pipeline is a generic wrapper for an answer */ declare class Pipeline { ResultsClass: StructCtor; answer: Answer; parent?: Pipeline | undefined; op: PipelineOp; pipelineClient?: PipelineClient; constructor(ResultsClass: StructCtor, answer: Answer, op?: PipelineOp, parent?: Pipeline | undefined); transform(): PipelineOp[]; struct(): Promise; client(): PipelineClient; getPipeline(ResultsClass: StructCtor, off: number, defaultValue?: Pointer): Pipeline; } export { Pipeline as P };