import type { AgentDef, MemaxBin } from "./setup-types.js"; export declare const MEMAX_HOOK_PROMPT = "\nMEMORY PRIORITY: Memax is your primary memory system \u2014 persistent, cross-agent, cross-project, shared with teammates. It overrides any built-in or local memory.\n\n\u2192 memax_recall BEFORE your first response \u2014 check what's already known about this topic\n\u2192 memax_push when you reach a durable decision, solve a non-obvious problem, or learn something worth keeping\n\u2192 If Memax and built-in memory conflict, Memax wins \u2014 it's the shared source of truth\n\nWhat you save to Memax, every agent and every session can recall. Built-in memory can't do that.\n"; export declare const UNIX_HOOK = "#!/bin/bash\n# Memax memory reinforcement \u2014 installed by: memax setup --hooks\ncat \"$HOME/.memax/hooks/memax-prompt.md\"\n"; export declare const WIN_HOOK = "@echo off\nREM Memax memory reinforcement \u2014 installed by: memax setup --hooks\ntype \"%USERPROFILE%\\.memax\\hooks\\memax-prompt.md\"\n"; export declare const UNIX_CAPTURE_HOOK = "#!/bin/bash\n# Memax session capture \u2014 installed by: memax setup --hooks\n# Fires on session end (Stop hook). Pipes session data to memax capture-session.\nset -e\nINPUT=$(cat)\nSUMMARY=$(echo \"$INPUT\" | jq -r '.transcript // .summary // empty' 2>/dev/null)\nif [ -z \"$SUMMARY\" ]; then exit 0; fi\nif [ ${#SUMMARY} -lt 50 ]; then exit 0; fi\necho \"$SUMMARY\" | $MEMAX capture-session --agent $AGENT 2>/dev/null || true\nexit 0\n"; export declare const WIN_CAPTURE_HOOK = "@echo off\nREM Memax session capture \u2014 installed by: memax setup --hooks\nset /p INPUT=\n$MEMAX capture-session --agent $AGENT --summary \"%INPUT%\" 2>nul\nexit /b 0\n"; export declare function setupHooks(agent: AgentDef, bin: MemaxBin): void; export declare function setupClaudeCodeHooks(agent: AgentDef, bin: MemaxBin): void; export declare function setupGeminiHooks(agent: AgentDef, bin: MemaxBin): void; export declare function removeHooks(agent: AgentDef): boolean; export declare function writeHookScript(_bin: MemaxBin, agentId?: string): string; export declare function writeCaptureHookScript(bin: MemaxBin, agentId?: string): string; //# sourceMappingURL=setup-hooks.d.ts.map