export interface RemoteConfig { host: string; user: string; port: number; sshKey?: string; installDir: string; apiUrl: string; profile?: string; } /** * Load remote configuration */ export declare function loadRemoteConfig(profile?: string): RemoteConfig | null; /** * Check if we're in remote mode */ export declare function isRemoteMode(): boolean; /** * Get SSH base command */ export declare function getSSHCommand(config: RemoteConfig): string; /** * Get SCP base command */ export declare function getSCPCommand(config: RemoteConfig): string; /** * Execute command on remote server */ export declare function execRemote(config: RemoteConfig, command: string): Promise<{ stdout: string; stderr: string; }>; /** * Copy file to remote server */ export declare function copyToRemote(config: RemoteConfig, localPath: string, remotePath: string): Promise; /** * Copy directory to remote server */ export declare function copyDirToRemote(config: RemoteConfig, localDir: string, remoteDir: string): Promise; /** * Get remote API URL */ export declare function getRemoteAPIUrl(config: RemoteConfig): string; /** * Execute command on remote server and return stdout */ export declare function executeRemoteCommand(host: string, user: string, command: string, sshKey?: string, port?: number): Promise; /** * Download file from remote server */ export declare function scpDownload(host: string, user: string, remotePath: string, localPath: string, sshKey?: string, port?: number): Promise; /** * Upload file to remote server */ export declare function scpUpload(host: string, user: string, localPath: string, remotePath: string, sshKey?: string, port?: number): Promise; //# sourceMappingURL=remote.d.ts.map