export interface RollbackPlan { available: boolean; detectedVersion: string | null; backupPath: string; } export interface RollbackResult extends RollbackPlan { applied: boolean; restoredConfigPath?: string; } export declare function planRollback(): RollbackPlan; export declare function executeRollback(opts: { apply: boolean; }): RollbackResult;