export declare function createTunnel(proxyUrl: string, targetHost: string, options?: { port?: number; hostname?: string; verbose?: boolean; ignoreProxyCertificate?: boolean; }): Promise; export declare function closeTunnel(serverPath: string, closeConnections?: boolean): Promise;