/**
 * Task Hook Handlers - Phase 2D of T5237
 *
 * Handlers that capture task lifecycle events to BRAIN via memory.observe.
 * Auto-registers on module load.
 *
 * T138: Triggers memory bridge refresh after task completion.
 * T554: Triggers LLM observer after task completion when observation count ≥ threshold.
 */
import type { PostToolUsePayload, PreToolUsePayload } from '../types.js';
/**
 * Handle PreToolUse (maps to task.start in CLEO, canonical: was onToolStart)
 */
export declare function handleToolStart(projectRoot: string, payload: PreToolUsePayload): Promise<void>;
/**
 * Handle PostToolUse (maps to task.complete in CLEO, canonical: was onToolComplete)
 *
 * T138: Refresh memory bridge after task completion.
 * T554: Fire-and-forget LLM observer when observation count ≥ threshold.
 */
export declare function handleToolComplete(projectRoot: string, payload: PostToolUsePayload): Promise<void>;
//# sourceMappingURL=task-hooks.d.ts.map