/** * @license * Copyright 2024 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import { MachineResult } from "../traversal/result.js"; import type { Edge, NodeIdentifier, OutputValues, TraversalResult } from "@breadboard-ai/types"; import type { ManagedRunStateLifecycle, ReanimationState, ReanimationStateVisits, RunState } from "@breadboard-ai/types"; export declare class LifecycleManager implements ManagedRunStateLifecycle { #private; constructor(visits?: ReanimationStateVisits); supplyPartialOutputs(outputs: OutputValues, invocationPath: number[]): Promise; dispatchGraphStart(url: string, path: number[]): void; dispatchSkip(): void; dispatchEdge(_edge: Edge): void; dispatchNodeStart(result: TraversalResult, invocationPath: number[]): Promise; dispatchNodeEnd(outputs: OutputValues, invocationPath: number[]): void; dispatchGraphEnd(): void; pathFor(node: NodeIdentifier): number[] | undefined; state(): RunState; reanimationState(): ReanimationState; } export declare const traversalResultFromStack: (stack: RunState) => MachineResult | undefined; //# sourceMappingURL=lifecycle.d.ts.map