import type { BackgroundToolTaskRef } from "../background-tool-task-controller.ts"; import type { OpenTaskStepRef } from "../goals/goal-tool-core.ts"; import { type TaskStep, type TaskStepsState } from "../tasks/task-state.ts"; import { type IncrementResult, type PipelineDefinition, type PipelineRun } from "./types.ts"; export interface PipelineIncrementJoin { openTaskSteps?: readonly OpenTaskStepRef[]; backgroundToolTasks?: readonly BackgroundToolTaskRef[]; } export declare class PipelineIncrementError extends Error { constructor(message: string); } export declare function incrementPipelineRun(definition: PipelineDefinition, run: PipelineRun, now: string, join?: PipelineIncrementJoin): { run: PipelineRun; result: IncrementResult; }; export declare function abandonPipelineRun(run: PipelineRun, now: string): PipelineRun; export declare function advanceTaskSteps(state: TaskStepsState, now: string): { state: TaskStepsState; result: IncrementResult; }; export declare function currentOpenTaskStep(steps: readonly TaskStep[]): TaskStep | undefined; //# sourceMappingURL=increment.d.ts.map