/** Chat agents' conversations and sub-agent transcripts keep 30 days. */ export declare const SIDE_STORE_RETENTION_DAYS = 30; export interface StorageSweepOptions { agentDir: string; sessionsDir: string; subagentSessionsDir: string; subagentsDir: string; /** The user's `sessionRetentionDays` for coding conversations. */ sessionRetentionDays: number; now?: number; } export interface StorageSweepReport { trashedFiles: number; trashedBytes: number; archivedFiles: number; emptiedTrashDays: number; } /** Run the sweep unless one ran in the last day. Returns null when skipped. */ export declare function sweepStorageDaily(options: StorageSweepOptions): Promise; export declare function sweepStorage(options: StorageSweepOptions): Promise;