import { Blueprint, Predicates } from 'optimal'; import Context from './Context'; import Routine from './Routine'; import CoreTool from './Tool'; export interface PipelineOptions { exit?: (code: number) => void; } export default class Pipeline> extends Routine { constructor(tool: Tool, context: Ctx, options?: PipelineOptions); blueprint({ func }: Predicates): Blueprint>; /** * Execute all routines in order. */ run(initialValue?: T): Promise; /** * Report the pipeline failure by writing a crash log. */ reportCrash(error: Error): void; } //# sourceMappingURL=Pipeline.d.ts.map