export type PortableUpdateSwap = { parentPid: number; installRoot: string; stagedRoot: string; backupRoot: string; helperRoot: string; nodeRelativePath: string; }; export declare function waitForProcessExit(pid: number, timeoutMs?: number): Promise; export declare function swapPortableInstall(swap: PortableUpdateSwap): Promise; export declare function runPortableUpdateHelper(configPath: string): Promise;