/** * Read-side queries over a workflow's durable checkpoint, event log, and * timeline. These are inspection/visibility surfaces (no mutation); the write * path lives in `checkpoint-io.ts`. * * @module core/engine/checkpoint-reads */ import type { CheckpointState, CheckpointSummary, WorkflowEvent, WorkflowReplay, WorkflowTimelineEntry } from '../types.ts'; import type { EngineInternals } from './internals.ts'; /** Retrieve the event history for a workflow. */ export declare function getEvents(internals: EngineInternals, workflowId: string): Promise; /** * List checkpoint history entries for a workflow, newest first. * Returns summary metadata only — use getCheckpointAt for full state. */ export declare function listCheckpoints(internals: EngineInternals, workflowId: string): Promise; /** Retrieve the full deserialized checkpoint state at a specific step. */ export declare function getCheckpointAt(internals: EngineInternals, workflowId: string, step: number): Promise; /** Return the durable per-step execution timeline for a workflow. */ export declare function getTimeline(internals: EngineInternals, workflowId: string): Promise; /** Reconstruct workflow state at a historical checkpoint step. */ export declare function replayTo(internals: EngineInternals, workflowId: string, step: number): Promise;