import type { ServerConfig } from '@/config/types'; export declare class SSHClient { private ssh; private server; private connected; constructor(server: ServerConfig); /** * 展开路径中的 ~ 为用户主目录(跨平台兼容) */ private expandPath; connect(): Promise; execute(command: string): Promise; executeWithOutput(command: string): Promise<{ stdout: string; stderr: string; exitCode?: number; }>; isConnected(): boolean; disconnect(): Promise; }