import type { SshConnection } from '../types/connections.js'; export declare class SSHExecutor { private connections; execute(server: SshConnection, command: string): Promise; executeWithOutput(server: SshConnection, command: string): Promise<{ stdout: string; stderr: string; exitCode: number; }>; executeWithInput(server: SshConnection, command: string, stdin: string): Promise<{ stdout: string; stderr: string; exitCode: number; }>; private getClient; private getConnectionKey; private dropClient; private isStaleConnectionError; closeAll(): Promise; getConnectionCount(): number; }