export interface HandoffOptions { label?: string; force?: boolean; noStamp?: boolean; noGit?: boolean; noFetch?: boolean; } /** Injectable seam for the best-effort retention prune (Phase 88). */ export interface HandoffDeps { prune?: (dir: string, retain: number, current: string) => Promise; } export interface HandoffResult { path: string; filename: string; lastHandoff: string | null; gitAvailable: boolean; stamped: boolean; /** SESSION docs pruned by retention (empty when disabled or on best-effort failure). */ pruned: string[]; } /** * Resolve the clock for a handoff run (rec-20260618-001). Honors a * `CADENCE_NOW` env override (a date string) so the SESSION date is * reproducible — chiefly so the clobber-refusal test can't flake across the * UTC-midnight boundary. Invalid/absent → wall clock. No behavior change when * unset. */ export declare function resolveNow(env: NodeJS.ProcessEnv): Date; export declare function runHandoff(root: string, opts?: HandoffOptions, now?: Date, deps?: HandoffDeps): Promise; /** Completion gate for the narrative fill-in: names sections of the freshest * SESSION doc that still carry scaffold markers. `path: null` = no doc. */ export declare function runHandoffCheck(root: string): Promise<{ path: string | null; unfilled: string[]; }>; //# sourceMappingURL=run-handoff.d.ts.map