/**
 * Supervisord lifecycle helpers for Docker deployments (`ccs docker up`).
 *
 * In Docker, supervisord owns the CLIProxy process lifecycle. Direct
 * stop+start via session-tracker / service-manager creates orphaned
 * processes and causes supervisord to enter FATAL state (EADDRINUSE).
 * All restart operations must delegate to `supervisorctl` instead.
 */
/** True when running inside a supervisord-managed container. */
export declare function isRunningUnderSupervisord(): boolean;
/** Restart the cliproxy program via supervisorctl. Returns port on success. */
export declare function restartCliproxyViaSupervisord(): {
    success: boolean;
    port?: number;
    error?: string;
};
//# sourceMappingURL=supervisord-lifecycle.d.ts.map