import { uninstallService } from "./service-manager.js"; export type InstallMigrationResult = { detected: boolean; migratedPaths: string[]; retainedPaths: string[]; }; export declare function migrateLegacyInstallation(options: { platform: NodeJS.Platform; env?: NodeJS.ProcessEnv; homeDirectory?: string; uid?: number; serviceUninstaller?: typeof uninstallService; }): Promise;