/** * Observation Hook Handler (PostToolUse) * * Captures tool usage observations after Claude executes a tool. * Stores file reads, writes, commands, and searches for context. * * @module @agentkits/memory/hooks/observation */ import { NormalizedHookInput, HookResult, EventHandler } from './types.js'; import { MemoryHookService } from './service.js'; /** * Observation Hook - PostToolUse Event * * Called after Claude executes a tool. * Captures the tool usage for future context. */ export declare class ObservationHook implements EventHandler { private service; private ownsService; constructor(service: MemoryHookService, ownsService?: boolean); /** * Shutdown the hook (closes database if owned) */ shutdown(): Promise; /** * Execute the observation hook */ execute(input: NormalizedHookInput): Promise; } /** * Create observation hook handler */ export declare function createObservationHook(cwd: string): ObservationHook; export default ObservationHook; //# sourceMappingURL=observation.d.ts.map