/**
 * Active-Work Capture Hook Handlers
 *
 * Captures dispatch mutation events to BRAIN during active work, closing
 * the gap between lifecycle-only capture (session end, task complete) and
 * continuous capture. Only WRITE operations that represent meaningful work
 * are captured — reads and operations already handled by lifecycle hooks
 * are skipped to avoid flooding brain.db.
 *
 * Disabled by default. Enable via:
 *   - Config: brain.captureWork = true  (checked first)
 *   - Env:    CLEO_BRAIN_CAPTURE_WORK=true  (overrides config)
 *
 * Auto-registers on module load.
 *
 * @task T142
 */
import type { PromptSubmitPayload, ResponseCompletePayload } from '../types.js';
/**
 * Handle PromptSubmit — log incoming mutation intents to BRAIN.
 *
 * Only fires for mutate operations in CAPTURE_OPERATIONS.
 * Gated behind brain.captureWork config (or CLEO_BRAIN_CAPTURE_WORK env).
 *
 * @param projectRoot - Absolute path to the project root
 * @param payload     - PromptSubmit event payload
 */
export declare function handleWorkPromptSubmit(projectRoot: string, payload: PromptSubmitPayload): Promise<void>;
/**
 * Handle ResponseComplete — capture completed mutations to BRAIN.
 *
 * Only fires for successful mutate operations in CAPTURE_OPERATIONS.
 * Failures are skipped — the intent was already captured by handleWorkPromptSubmit.
 * Gated behind brain.captureWork config (or CLEO_BRAIN_CAPTURE_WORK env).
 *
 * @param projectRoot - Absolute path to the project root
 * @param payload     - ResponseComplete event payload
 */
export declare function handleWorkResponseComplete(projectRoot: string, payload: ResponseCompletePayload): Promise<void>;
//# sourceMappingURL=work-capture-hooks.d.ts.map