/** * cli-context-inject.ts * * Called by Claude Code's SessionStart hook (matchers: startup|resume|clear|compact). * * Two responsibilities, branched by hook `source`: * - clear|compact: emit a compact project + rules context block to stdout * for re-injection after the prior context was wiped (~200 tokens). * - all sources: if the previous session lacks an arc summary, spawn * `hmem summarize-session` asynchronously. This closes the gap for * sessions that ended without /clear (issue #31). * * Usage: hmem context-inject (reads stdin JSON from Claude Code hook) * * Requires env: * HMEM_PATH — path to .hmem file (auto-detected) * HMEM_PROJECT_DIR — directory for config + company.hmem */ export declare function contextInject(): Promise;