import type { Subprocess } from "bun"; /** Minimum time between background runs. Sessions qualify only after days idle, so daily is enough. */ export declare const GC_AUTO_COMPRESS_INTERVAL_MS: number; /** Output of the latest background run, under the agent dir. */ export declare const GC_AUTO_COMPRESS_LOG = "gc-auto-compress.log"; /** * Start a detached `omp gc --compress --apply` for `agentDir` when the last * background run is at least a day old and the sessions directory sits on a * volume with transparent compression (APFS, NTFS). Returns the child, or * undefined when no run was due or possible, or another launch is claiming it. * The child outlives this process. */ export declare function scheduleGcAutoCompress(agentDir: string): Promise;