import type { RuntimeTaskSessionSummary } from "../core/api-contract.js";
export type SessionTransitionEvent = {
    type: "hook.to_review";
} | {
    type: "hook.to_in_progress";
} | {
    type: "agent.prompt-ready";
} | {
    type: "process.exit";
    exitCode: number | null;
    interrupted: boolean;
};
export interface SessionTransitionResult {
    changed: boolean;
    patch: Partial<RuntimeTaskSessionSummary>;
    clearAttentionBuffer: boolean;
}
export declare function reduceSessionTransition(summary: RuntimeTaskSessionSummary, event: SessionTransitionEvent): SessionTransitionResult;
//# sourceMappingURL=session-state-machine.d.ts.map