/** * SSHService - SSH connection and operations */ import { NodeSSH } from 'node-ssh'; import { SSHConnection } from '../types'; export declare class SSHService { private static instance; private ssh; private connected; private constructor(); static getInstance(): SSHService; /** * Connect to SSH server */ connect(config: SSHConnection): Promise; /** * Execute command on remote server */ exec(command: string): Promise; /** * Upload file to remote server */ uploadFile(localPath: string, remotePath: string): Promise; /** * Download file from remote server */ downloadFile(remotePath: string, localPath: string): Promise; /** * Disconnect from SSH server */ disconnect(): void; /** * Check if connected */ isConnected(): boolean; /** * Get SSH connection instance */ getConnection(): NodeSSH; /** * Close all connections (for compatibility with SSHConnectionPool) */ closeAll(): Promise; } //# sourceMappingURL=SSHService.d.ts.map