/** * A named file inside this session's private state directory, so * sweepStaleSessionDirs cleans it up with the rest of the session's litter. */ export declare function sessionStateFilePath(sessionId: string, fileName: string): string; export declare function ensurePrivateDirectory(path: string): boolean; /** Wall-clock floor for files left behind when the host misses lifecycle cleanup. */ export declare const ORPHAN_SESSION_MS: number; /** * Remove abandoned session directories after lifecycle cleanup failed to run. * Runs once per SessionStart and checks the directory plus each direct child, * because rewriting a child does not refresh its directory mtime on Linux. */ export declare function sweepStaleSessionDirs(now?: number): number;