/** * Task Hook Handlers - Phase 2D of T5237 * * Task lifecycle integration without content-free BRAIN observations. * Auto-registers on module load. * * T138: Triggers memory bridge refresh after task completion. * Useful learnings are supplied explicitly by the calling agent. */ import type { PostToolUsePayload, PreToolUsePayload } from '../types.js'; /** * Handle PreToolUse (maps to task.start in CLEO, canonical: was onToolStart) * @param _projectRoot - Project identity retained for the hook interface; no memory row is emitted. * @param _payload - Lifecycle payload retained for the hook interface. */ export declare function handleToolStart(_projectRoot: string, _payload: PreToolUsePayload): Promise; /** * Handle PostToolUse (maps to task.complete in CLEO, canonical: was onToolComplete) * * T138: Refresh memory bridge after task completion. * No background LLM is required for task completion. * @param _payload - Completion payload retained for the hook interface. */ export declare function handleToolComplete(projectRoot: string, _payload: PostToolUsePayload): Promise; //# sourceMappingURL=task-hooks.d.ts.map