import type { AgentSession } from "../../core/agent-session.js"; import type { WorkflowActivityFrame } from "../../core/extensions/workflow-events.js"; /** * Forward the engine's workflow activity to the host that owns the terminal. The host reports it as * program status, which needs each root's state and outcome but never its graph, so frames that * change only the graph are not sent. */ export declare function forwardWorkflowActivity(session: AgentSession, write: (line: string) => void): () => void; /** * The host's view of the engine's workflow activity. The engine publishes its snapshot as soon as it * binds, which can be before the host attaches an observer, so the host keeps the frames folded into * one current snapshot and replays that to every observer that attaches later. */ export declare class WorkflowActivityMirror { private cursor; private availability; private readonly roots; apply(frame: WorkflowActivityFrame): void; /** The snapshot a late observer starts from; absent until the engine published something. */ current(): WorkflowActivityFrame | undefined; reset(): void; } //# sourceMappingURL=engine-workflow-activity.d.ts.map