/**
 * Shared React hooks for the Codewalkers frontend.
 *
 * This module provides reusable hooks for common patterns like
 * debouncing, subscription management, and agent interactions.
 */

export { useAutoSave } from './useAutoSave.js';
export { useDebounce, useDebounceWithImmediate } from './useDebounce.js';
export { useLiveUpdates } from './useLiveUpdates.js';
export { useRefineAgent } from './useRefineAgent.js';
export { useConflictAgent } from './useConflictAgent.js';
export { useSubscriptionWithErrorHandling } from './useSubscriptionWithErrorHandling.js';

export type {
  RefineAgentState,
  SpawnRefineAgentOptions,
  UseRefineAgentResult,
} from './useRefineAgent.js';

export type {
  ConflictAgentState,
  UseConflictAgentResult,
} from './useConflictAgent.js';