/**
 * useSync Hook
 *
 * Manages sync workflow state between production and test servers
 */
import { type SyncDirection, type SyncProgress, type SyncResult } from '../../workflows/sync.js';
export interface UseSyncOptions {
    prodDir: string;
    testDir: string;
    disableOnTest?: string[];
    skipMigrateToProd?: string[];
    createBackup?: boolean;
    backupDir?: string;
}
export interface SyncState {
    progress: SyncProgress | null;
    result: SyncResult | null;
    loading: boolean;
    error: string | null;
    sync: (direction: SyncDirection) => Promise<void>;
    cancel: () => void;
    clear: () => void;
}
/**
 * Hook for managing sync workflow
 */
export declare function useSync(options: UseSyncOptions): SyncState;
//# sourceMappingURL=useSync.d.ts.map