/**
 * @license
 * Copyright 2025 Vybestack LLC
 * SPDX-License-Identifier: Apache-2.0
 */
/**
 * Relaunch the current application in a child process with additional Node.js arguments.
 * This is used to restart with higher memory limits or enter sandboxed environments.
 *
 * The child process inherits stdio for seamless I/O, and receives an environment
 * variable to prevent infinite relaunch loops.
 *
 * @param additionalArgs - Additional Node.js arguments (e.g., --max-old-space-size=4096)
 * @returns Promise that resolves to the child process exit code
 */
export declare function relaunchAppInChildProcess(additionalArgs: string[]): Promise<number>;
