/**
 * Process Respawn - Process respawn logic
 */
type RespawnMode = "spawned" | "supervised" | "disabled" | "failed";
export type GatewayRespawnResult = {
    mode: RespawnMode;
    pid?: number;
    detail?: string;
};
/**
 * Restart gateway process
 * - Supervised environment: exit and let supervisor restart
 * - XOPC_NO_RESPAWN=1: in-process restart
 * - Otherwise: spawn detached child, then exit
 */
export declare function restartGatewayProcessWithFreshPid(): GatewayRespawnResult;
export {};
