/** * `weft.workflows.replay` operation + REST binding. * * Reconstructs historical workflow state at a checkpoint step. This is a * side-effecting read (it does not mutate the live workflow), so it is * declared `authenticated` with a scope requirement to prevent anonymous * access to sensitive historical state. * * REST response: content-negotiated JSON or msgpack, 404 for missing * workflow or step. * * @module server/operations/replay-workflow */ import { z } from 'zod'; import type { WorkflowReplay } from '../../core/types.ts'; import type { UnknownRestBinding } from '../rest-bindings.ts'; declare const replayWorkflowInput: z.ZodObject<{ workflowId: z.ZodString; step: z.ZodUnion; }, z.core.$strip>; export type ReplayWorkflowInput = z.infer; export type ReplayWorkflowOutput = WorkflowReplay; export declare const replayWorkflowOperation: import("../operation-catalog.ts").OperationDefinition<{ workflowId: string; step: string | number; }, WorkflowReplay, unknown>; export declare const replayWorkflowRestBinding: UnknownRestBinding; export {};