/** Something outside this process will restart it when it exits. */ export declare function isSupervised(): boolean; /** Start the successor. Caller exits right after. */ export declare function relaunchSelf(mode: "global" | "npx" | "dev" | "unknown"): void; /** In the successor: block until the process that spawned us has exited. * No-op when we were not spawned by relaunchSelf. Gives up after 20s rather * than hang forever behind a predecessor that will not die. */ export declare function waitForPredecessor(): Promise;