import type { CanonicalState, SynthEvent, CapabilityInvocation } from "../types/index.js"; export declare const MAX_LIFECYCLE_DEPTH = 3; export interface LifecycleContinuation { invocation: CapabilityInvocation; } /** * Determine the next automatic lifecycle step based on the most recently * committed domain event. * * Lifecycle chain: * REVIEW_GATE_RESOLVED (approved) [only when evaluation is present] * → EvaluateAndResolveAcceptanceGate * ACCEPTANCE_GATE_RESOLVED (accepted) * → CertifyConvergence [with review gate evidence attached] * CONVERGENCE_CERTIFIED (converged) * → CompleteMission * * Returns null if no continuation is applicable (e.g. gate rejected, no * evaluation present for auto-detection, or the event type does not trigger * a lifecycle transition). */ export declare function getLifecycleContinuation(state: CanonicalState, domainEvents: SynthEvent[], actor: string): LifecycleContinuation | null;