/** * Read Claude Code's statusline state file * (`~/.claude/statusline-state.json`) and parse a context-percent key. * Moved from the generic reader in slice * only in the Claude Code adapter. */ export declare function readClaudeStatuslinePercent(): number | null; /** * Recursive search for `.jsonl` under `projectsDir`. The * Mac layout encodes the cwd as a single hash directory; on Mac Claude Code * nests the transcript under that hash with an extra level of subdirectory we * cannot predict ahead of time. A flat readdir misses that branch and returns * null — the silent-failure mode this recursion closes. * * Moved from the generic reader in slice * session id (Claude Code names its transcript by the outer session UUID), * NOT the peaks session id. */ export declare function findTranscriptJsonl(projectsDir: string, outerSessionId: string): string | null; /** * Resolve the absolute path of a Claude Code transcript jsonl by OUTER * session id, searching `~/.claude/projects/**` recursively. * * `peaks code context-audit` reuses THIS locator instead of re-implementing * the recursive find. Returns `null` when the transcript does not exist — * callers MUST treat that as "unavailable", never as an error. */ export declare function resolveClaudeTranscriptPath(outerSessionId: string, projectsDir?: string): string | null;