export declare function resolveKimiConfigDir(): string; /** * Best-effort resolution of the `/wire.jsonl` file for a given * Kimi Code session id. * * Ground truth (adapter-matrix/kimi.md): the usage stream is persisted at * `/wire.jsonl` — * refs/platforms/kimi-code/packages/agent-core/src/agent/index.ts:142 * new FileSystemAgentRecordPersistence(join(options.homedir, 'wire.jsonl'), ...) * where `options.homedir` is the agent's per-session directory. * * NOTE / WIRE GAP: the exact on-disk mapping from `session_id` → `sessionDir` * is NOT carried in the hook stdin payload, and the kimi-code refs are not * checked out in this worktree to confirm the session-store directory layout * (session/store/session-store.ts:278,316 are cited but unverifiable here). The * candidate layouts below cover the documented patterns; this resolver returns * the FIRST candidate whose `wire.jsonl` actually exists on disk, else null — * so the Stop hook degrades to a no-op rather than guessing wrong. When the * refs land, pin the exact layout and drop the fallback list. */ export declare function resolveKimiWireJsonlPath(sessionId: string): string | null;