/** * Garbage collection for large-result offload files. * * Offloads live under `/offloads//*.log`. This sweep * removes per-session directories older than `SPECTRAL_OFFLOAD_TTL_DAYS` * (default 7) and, when the total still exceeds `SPECTRAL_OFFLOAD_MAX_MB` * (default 500), evicts the oldest sessions first. * * Best-effort and synchronous: callers fire-and-forget it during preflight. */ export declare const DEFAULT_OFFLOAD_TTL_DAYS = 7; export declare const DEFAULT_OFFLOAD_MAX_MB = 500; export declare function getOffloadTtlMs(): number; export declare function getOffloadMaxBytes(): number; export interface OffloadSweepResult { removedSessions: number; removedBytes: number; } /** Remove stale/over-budget offload directories. Never throws. */ export declare function sweepOffloads(root?: string): OffloadSweepResult; //# sourceMappingURL=offload-gc.d.ts.map