/**
 * Session-retrospective skip-rate visibility tool.
 *
 * Called by the admin agent at session start. Returns the ratio of recent
 * sessions that closed without calling `session-retrospective-mark-complete`
 * — sessions where the typed-edge pass, learnings pass, and SOUL.md pass
 * never ran. The admin agent surfaces the result to the operator if the
 * rate is non-zero so closing via Sidebar Archive / tab-close becomes a
 * visible cost rather than a silent one.
 *
 * Mechanism: count `:Conversation` nodes for this account in the recent
 * window; count those whose corresponding session log contains the
 * sentinel tool-use of `session-retrospective-mark-complete`. The ratio
 * is the skip rate. Pending nodes (prose with `updatedAt` later than the
 * most-recent completed retrospective) carry the deferred typed-edge work
 * that will land at the next /end.
 */
import { type Session } from "neo4j-driver";
export interface SessionSkipRateArgs {
    /** Window size — number of most-recent sessions to inspect. Default 10. */
    windowSize?: number;
}
export interface SessionSkipRateResult {
    windowSessions: number;
    completedRetrospectives: number;
    skipRate: number;
    oldestPendingSinceIso: string | null;
}
export declare function sessionRetrospectiveSkipRate(args: SessionSkipRateArgs, session: Session, accountId: string): Promise<SessionSkipRateResult>;
//# sourceMappingURL=session-retrospective-skip-rate.d.ts.map