import { type Database } from "./database.js"; /** Accepted goal authority plus causal turn facts, never the mutable goal head. */ export declare function sessionTurnFinalReplyFacts(db: Database, workspaceId: string, sessionId: string, turnId: string): Promise<{ toolsExecuted: boolean; completedGoal: boolean; }>; /** A bounded same-turn probe, including inactive rows after compaction. */ export declare function sessionTurnHasFinalReplyNudge(db: Database, workspaceId: string, sessionId: string, turnId: string, markerText: string): Promise;