import { Agent } from 'http'; export interface SSHAgentConfig { host: string; port: number; username: string; privateKey?: string; passphrase?: string; socketPath: string; timeout?: number; } /** * Custom SSH agent for Docker connections * This creates an SSH tunnel to the remote Docker socket */ export declare class DockerSSHAgent extends Agent { private config; private client; constructor(config: SSHAgentConfig); /** * Create an SSH tunnel to the Docker socket */ createConnection(opts: any, callback: (err?: Error, stream?: any) => void): void; /** * Close the SSH connection */ destroy(): void; } /** * Create a custom SSH agent for Docker connections */ export declare function createCustomSSHAgent(config: SSHAgentConfig): DockerSSHAgent; //# sourceMappingURL=ssh-agent.d.ts.map