import net from 'net';
import { ConnectionOptions } from './ConnectionManager.js';
/**
 * Handles direct HTTP and HTTPS connections
 */
export declare class DirectConnection {
    private options;
    constructor(options: ConnectionOptions);
    /**
     * Establish a connection to the target host
     */
    connect(): Promise<net.Socket>;
    /**
     * Create a TCP connection for HTTP
     */
    private createTcpConnection;
    /**
     * Create a TLS connection for HTTPS
     */
    private createTlsConnection;
}
//# sourceMappingURL=DirectConnection.d.ts.map