/**
 * Zombie Process Prevention and Cleanup
 *
 * Prevents accumulation of zombie AI-Debug server processes that cause
 * resource conflicts and tool disconnections.
 */
export declare class ZombieProcessKiller {
    private static readonly AI_DEBUG_PATTERNS;
    private static readonly GRACE_PERIOD_MS;
    private static readonly MAX_CLEANUP_ATTEMPTS;
    /**
     * Find zombie AI-Debug processes (processes that are no longer responsive)
     */
    static findZombieProcesses(): Promise<Array<{
        pid: number;
        cmd: string;
        status: string;
    }>>;
    /**
     * Clean up zombie processes with grace period and escalation
     */
    static cleanupZombieProcesses(): Promise<{
        cleaned: number;
        failed: number;
    }>;
    /**
     * Kill a process gracefully with SIGTERM, then SIGKILL if needed
     */
    private static killProcessGracefully;
    /**
     * Check if a process is still alive
     */
    private static isProcessAlive;
    /**
     * Parse ps aux output into process objects
     */
    private static parseProcessList;
    /**
     * Check if a process is an AI-Debug process
     */
    private static isAIDebugProcess;
    /**
     * Check if a process is a zombie based on status
     */
    private static isZombieProcess;
    /**
     * Setup periodic zombie cleanup
     */
    static setupPeriodicCleanup(intervalMs?: number): NodeJS.Timeout;
    /**
     * Prevent current process from becoming zombie
     */
    static preventCurrentProcessZombie(): void;
    private static sleep;
}
//# sourceMappingURL=zombie-process-killer.d.ts.map