/** * Gateway restart coordination — OpenClaw-aligned SIGUSR1 authorization and restart intent. */ export declare function writeGatewayRestartIntentSync(opts?: { env?: NodeJS.ProcessEnv; targetPid?: number; }): boolean; export declare function clearGatewayRestartIntentSync(env?: NodeJS.ProcessEnv): void; export declare function consumeGatewayRestartIntentSync(env?: NodeJS.ProcessEnv, now?: number): boolean; export declare function setGatewaySigusr1RestartPolicy(opts?: { allowExternal?: boolean; }): void; export declare function isGatewaySigusr1RestartExternallyAllowed(): boolean; export declare function authorizeGatewaySigusr1Restart(delayMs?: number): void; export declare function consumeGatewaySigusr1RestartAuthorization(): boolean; export declare function resetGatewayRestartStateForInProcessRestart(): void; export declare function scheduleGatewaySigusr1Restart(params: { delayMs?: number; reason?: string; onRestart: () => void; }): void;