export interface StopSignals { /** Did the node call `push --final` (finish) this turn? */ pushedFinal: boolean; /** Did the node call `crtr ask` (escalate to the human) this turn? */ askedHuman: boolean; } export type StopAction = { action: 'allow'; reason: 'awaiting' | 'scheduled' | 'finished' | 'escalated' | 'dormant'; } | { action: 'reprompt'; reason: 'stalled'; message: string; }; export declare const STALL_REPROMPT: string; /** Decide what to do when a node stops. Pure given the canvas + this turn's * signals — the stophook supplies the signals and enacts the action. */ export declare function evaluateStop(nodeId: string, signals: StopSignals): StopAction;