/** * GC adapter for config file-locks (`.lock` dirs holding `{pid, timestamp}`). */ import type { GcCollectResult, GcContext, GcStoreAdapter } from "../gjc-runtime/gc-runtime"; /** Default per-root walk budget. Truncation is a warning, not a hard error. */ export declare const FILE_LOCK_GC_MAX_WALK_ENTRIES = 20000; export interface FileLocksGcCollectOptions { /** Override per-root entry budget (tests). Defaults to {@link FILE_LOCK_GC_MAX_WALK_ENTRIES}. */ maxWalkEntries?: number; /** Override global lock roots for isolated collection tests. */ roots?: readonly string[]; } /** * Discover + classify file-lock records. Each known lock root gets its own walk * budget so truncating one root never skips the others. Caps surface as * warnings (partial results), not hard discovery errors. */ export declare function collectFileLocksForGc(ctx: GcContext, options?: FileLocksGcCollectOptions): Promise; export declare const fileLocksGcAdapter: GcStoreAdapter;