import type { StopSignals } from './stop-guard.js'; export type StopSignal = keyof StopSignals; /** Record a successful command outcome for this broker process. The stophook * consumes the marker at settlement, so no broker-side canvas read is needed to * recognize the command the node itself just completed. */ export declare function markStopSignal(nodeId: string, signal: StopSignal): void; /** Consume command outcomes from this broker's just-settled turn. Markers from * an earlier crashed broker are discarded rather than bleeding into its successor. */ export declare function consumeStopSignals(nodeId: string): StopSignals; /** Discard any marker left by an earlier run of this same broker — a run that * errored or was interrupted returns before settlement consumes its markers, and * the pid stamp cannot tell those apart from the current run's. Called when a new * user-directed run begins, never on an in-run retry. */ export declare function clearStopSignals(nodeId: string): void;