import type { RunProcessResult } from '../utils/run-process.js'; import type { DeviceSshConfig } from './device-ssh.js'; export interface DeviceSshRunOptions { timeout?: number; maxBuffer?: number; signal?: AbortSignal; } export interface DeviceSshExecutor { run(remoteCommand: string, options?: DeviceSshRunOptions): Promise; } export declare class DeviceSshSession implements DeviceSshExecutor { private readonly config; private readonly sessionDir; private readonly controlPath; private connectPromise?; private connected; private closed; private readonly cleanupOnExit; constructor(config: DeviceSshConfig); private baseArgs; private target; connect(): Promise; run(remoteCommand: string, options?: DeviceSshRunOptions): Promise; close(): Promise; private closeSync; private cleanupLocalState; } //# sourceMappingURL=device-ssh-session.d.ts.map