import type { UpdateOptions } from '../definitions';
/**
 * Manages atomic bundle installation with rollback capability
 */
export declare class UpdateManager {
    private readonly pluginManager;
    private readonly securityValidator;
    private filesystem;
    private updateInProgress;
    private currentState;
    constructor();
    /**
     * Initialize update manager
     */
    initialize(): Promise<void>;
    /**
     * Apply bundle update atomically
     */
    applyUpdate(bundleId: string, options?: UpdateOptions): Promise<void>;
    /**
     * Validate update before applying
     */
    private validateUpdate;
    /**
     * Create backup of current bundle
     */
    private createBackup;
    /**
     * Perform the actual update
     */
    private performUpdate;
    /**
     * Verify update was successful
     */
    private verifyUpdate;
    /**
     * Rollback to previous state
     */
    rollback(): Promise<void>;
    /**
     * Get current update progress
     */
    getUpdateProgress(): {
        inProgress: boolean;
        bundleId?: string;
        startTime?: number;
    };
    /**
     * Cancel current update (if possible)
     */
    cancelUpdate(): Promise<void>;
}
