import type { EdgeTransfer, NodeAttempt, NodeAttemptId, WorkflowCheckpoint, WorkflowErrorSummary, WorkflowEventRecord, WorkflowHumanActionRecord, WorkflowRun, WorkflowRunId, WorkflowWaitToken, WorkflowWakeup } from "../types/index.js"; import type { WorkflowCheckpointStore, WorkflowEdgeTransferStore, WorkflowEventStore, WorkflowHumanActionStore, WorkflowNodeAttemptStore, WorkflowRunStore, WorkflowWaitTokenStore, WorkflowWakeupStore } from "../store/index.js"; export type WorkflowRunInspectionStore = WorkflowRunStore & Partial & Partial & Partial & Partial & Partial & Partial & Partial; export type WorkflowRunInspectionOptions = { limit?: number; }; export type WorkflowRunInspectionSummary = { runId: WorkflowRunId; workflowId: string; workflowVersion: string; status: WorkflowRun["status"]; piboSessionId?: string; currentNodeId?: string; currentEdgeId?: string; createdAt: string; updatedAt: string; completedAt?: string; failedAt?: string; cancelledAt?: string; nodeAttempts: number; completedNodeAttempts: number; failedNodeAttempts: number; waitingNodeAttempts: number; pendingWaitTokens: number; edgeTransfers: number; events: number; latestCheckpointId?: string; failedNodeId?: string; failedNodeAttemptId?: NodeAttemptId; error?: WorkflowErrorSummary; }; export type WorkflowRunInspection = { kind: "workflowRunInspection"; schemaVersion: 1; summary: WorkflowRunInspectionSummary; run: WorkflowRun; nodeAttempts: NodeAttempt[]; edgeTransfers: EdgeTransfer[]; checkpoints: WorkflowCheckpoint[]; wakeups: WorkflowWakeup[]; waitTokens: WorkflowWaitToken[]; humanActions: WorkflowHumanActionRecord[]; events: WorkflowEventRecord[]; }; export declare function inspectWorkflowRun(store: WorkflowRunInspectionStore, runId: WorkflowRunId, options?: WorkflowRunInspectionOptions): Promise; export declare function formatWorkflowRunInspection(inspection: WorkflowRunInspection): string; //# sourceMappingURL=index.d.ts.map