/**
 * MemoryGate Hook - Intercepts tool usage and turn completion to maintain memory.
 */
import { PostToolUseHook, AssistantDoneHook, HookContext } from "../types.js";
export declare class MemoryGateHook implements PostToolUseHook, AssistantDoneHook {
    name: "MemoryGate";
    private memoryManager;
    execute(context: HookContext, toolOrText: string, input?: any, output?: {
        title: string;
        output: string;
        metadata: any;
    }): Promise<any>;
    /**
     * Post-Tool: Capture tool outputs to TASK memory
     */
    private handlePostTool;
    /**
     * Assistant Done: Capture turn summary to MISSION memory if important
     */
    private handleAssistantDone;
}
