/**
 * Migration from Claude Cortex / Claude Memory to ShieldCortex.
 *
 * Non-destructive: copies database (doesn't move), replaces settings entries.
 * Also cleans up old LaunchAgents and npm packages to prevent conflicts.
 */
/**
 * Clean up old npm packages that might conflict or auto-start old dashboards.
 */
export declare function cleanupOldNpmPackages(): {
    uninstalled: string[];
};
/**
 * Clean up old LaunchAgents (macOS) or systemd services (Linux) that would auto-start
 * the deprecated dashboard on reboot.
 */
export declare function cleanupOldServices(): {
    removed: string[];
};
export declare function migrateSettings(): {
    mcpSwapped: number;
    hooksSwapped: number;
};
export declare function migrateDatabase(): {
    copied: boolean;
    merged: boolean;
    mergedCount?: number;
    source?: string;
};
export declare function migrateClaudeMd(): boolean;
/**
 * Migrate OpenClaw hooks from legacy ~/.clawdbot/ to ~/.openclaw/.
 * Non-destructive: copies files, then removes legacy directory.
 */
export declare function migrateOpenClawHooks(): {
    migrated: boolean;
    cleanedLegacy: boolean;
};
export declare function handleMigrateCommand(): Promise<void>;
