import type { GoalPlan, GoalPlanNode, GoalPlanNodeStatus, GoalRollup, GoalStatus } from "./types.js"; export declare function isTerminal(status: GoalStatus): boolean; export declare function nodeBudgetExhausted(node: GoalPlanNode): boolean; export declare function readyNodeKeys(plan: Pick): string[]; export declare function rollupSummary(nodes: Pick[]): GoalRollup; export declare function assertGoalTransition(from: GoalStatus, to: GoalStatus): void; export declare function assertAcyclicNodes(nodes: Pick[]): void; export declare function updateReadyFlags(nodes: GoalPlanNode[], planStatus: GoalPlan["status"]): GoalPlanNode[]; export declare function normalizeNodeStatus(status: string): GoalPlanNodeStatus;