/** * useSync - Hook for the /sync command * * Runs scan + AI enhancement and persists context to .ralph/.context.json * without the full /init interview flow. */ import type { AIProvider } from '../../ai/providers.js'; export type SyncStatus = 'idle' | 'running' | 'success' | 'error'; export interface UseSyncReturn { status: SyncStatus; error: Error | null; sync: (projectRoot: string, provider: AIProvider, model: string) => Promise; } export declare function useSync(): UseSyncReturn;