/** * Notify State — turn-scoped notification context. * * Allows executor and ask-user modules to record what happened during a turn * so that the notification handler can produce context-aware title/body text. * State is reset at the start of each turn. */ interface NotifyState { /** True when ask_user was invoked this turn. */ pendingDecision: boolean; /** Name of the last flow that completed. */ lastFlowName?: string; /** Acceptance criteria from the last completed flow. */ lastFlowAcceptance?: string; /** Number of flows that finished so far. */ completedFlows: number; /** Total number of flows dispatched. */ totalFlows: number; } /** Read the current notification state (read-only snapshot). */ export declare function getNotifyState(): Readonly; /** Reset state to defaults. Called at the start of each turn. */ export declare function resetNotifyState(): void; /** Mark that ask_user was invoked this turn. */ export declare function setPendingDecision(): void; /** Record the last flow's completion info. * @param name - Flow type name (e.g. "scout", "build") * @param acceptance - Acceptance criteria string, if provided * @param index - 0-based index of this flow in the batch * @param total - Total number of flows in the batch */ export declare function setFlowComplete(name: string, acceptance: string | undefined, index: number, total: number): void; export {}; //# sourceMappingURL=notify-state.d.ts.map