import { Socket } from "node:net"; import { IAuthOptions } from "../Auth/AuthOptions.js"; import { TcpConnectionInfo } from "../ServerWide/Commands/GetTcpInfoCommand.js"; import { OperationTypes, SupportedFeatures } from "../ServerWide/Tcp/TcpConnectionHeaderMessage.js"; export declare class TcpUtils { static connect(urlString: string, serverCertificate: string, clientCertificate: IAuthOptions): Promise; static connectSecuredTcpSocket(info: TcpConnectionInfo, serverCertificate: string, clientCertificate: IAuthOptions, operationType: OperationTypes, negotiationCallback: NegotiationCallback): Promise; private static _invokeNegotiation; } type NegotiationCallback = (url: string, info: TcpConnectionInfo, socket: Socket) => Promise; export declare class ConnectSecuredTcpSocketResult { url: string; socket: Socket; supportedFeatures: SupportedFeatures; constructor(url: string, socket: Socket, supportedFeatures: SupportedFeatures); } export {}; //# sourceMappingURL=TcpUtils.d.ts.map