import type { WorkflowExecution } from '@hotmeshio/hotmesh/build/types/exporter'; /** * Post-process execution events to improve timeline visualization: * * 1. Fire-and-forget child starts (`startChild`): set duration_ms = 0 * so they render as a narrow completed band instead of pending. * * 2. Completed signals (`waitFor` that received a signal): split into * signal_wait_started + workflow_execution_signaled pair so the * timeline can show the full wait duration as a band. * * 3. Running workflows: inject a pending signal_wait_started event * after any fire-and-forget start that lacks a matching signal, * so the timeline shows a growing orange "pending" band. */ export declare function postProcessExecution(execution: WorkflowExecution): WorkflowExecution;