/** * File Change Hook Handlers - Wave 2 of T5237 * * Captures file change events to BRAIN via memory.observe. * Includes 5-second dedup and path-based filtering to avoid noisy writes. * Auto-registers on module load. * * Disabled by default. Enable via: * - Config: brain.captureFiles = true (checked first) * - Env: CLEO_BRAIN_CAPTURE_FILES=true (overrides config) */ import type { NotificationPayload } from '../types.js'; /** * Handle Notification (file-change variant) - capture file changes to BRAIN * * Gated behind brain.captureFiles config or CLEO_BRAIN_CAPTURE_FILES env var. * Env var takes precedence over config for backward compatibility. * Deduplicates rapid writes to the same file within a 5-second window. * Filters out .cleo/ internal files and test temp directories. * Converts absolute paths to project-relative paths. */ export declare function handleFileChange(projectRoot: string, payload: NotificationPayload): Promise; //# sourceMappingURL=file-hooks.d.ts.map