/** * Remove orphaned sessions and clean up stale data. * * @task T4782 * @task T2304 * @epic T4654 */ /** * Remove orphaned sessions, auto-end stale active sessions, and clean up stale data. * * Stale active sessions (no activity beyond the configured threshold) are * transitioned to 'ended' with an auto-end note. The threshold is read from * `retention.autoEndActiveAfterDays` in the project config (default: 7 days). * * @task T2304 */ export declare function cleanupSessions(projectRoot: string): Promise<{ removed: string[]; autoEnded: string[]; cleaned: boolean; }>; //# sourceMappingURL=session-cleanup.d.ts.map