/** * library-cache — compress-and-cache process library files (processLibraryCache layer). * * On first access (or after TTL expiry) a file is read, compressed with * densityFilterText, and written to .a5c/cache/compression/.json. * Subsequent reads within TTL are served from cache with zero re-compression cost. */ /** * Return compressed content for `filePath`, reading from cache when fresh. * On cache miss: reads, compresses, writes to cache, returns compressed content. * Returns null if the file doesn't exist or can't be read. */ export declare function getOrCompressFile(filePath: string, targetReduction: number, ttlHours: number, cacheDir: string): string | null; /** * Find all SKILL.md and AGENT.md files under `rootDir` (max depth 6). * Used by the session-start hook to pre-warm the cache. */ export declare function findLibraryFiles(rootDir: string): string[]; //# sourceMappingURL=library-cache.d.ts.map