/**
 * Pure helper: compute AgentRun status transition events.
 *
 * Handles both:
 * - Normal status deltas (running → completed, etc.) using the STATUS_TO_EVENT
 *   table.
 * - Crash detection: the run claims to be active but its owning process is
 *   gone. The caller passes in an `isProcessAlive` predicate so this module
 *   stays free of infrastructure concerns.
 *
 * Mutates `prev` in place to record the newly-observed status/crash flag.
 */
import type { AgentRun, Feature } from '../../../../domain/generated/output.js';
import type { CachedFeatureState, StreamedAgentEvent } from './stream-agent-events.types.js';
export interface ComputeStatusDeltasArgs {
    feature: Feature;
    run: AgentRun;
    prev: CachedFeatureState;
    isProcessAlive: (pid: number) => boolean;
}
export declare function computeStatusDeltas(args: ComputeStatusDeltasArgs): StreamedAgentEvent[];
//# sourceMappingURL=compute-status-deltas.d.ts.map