import { IReader } from "../../../base/common/observable.js"; import type { IAgentConnection } from "./agentService.js"; export declare enum AgentHostTcpSupport { /** The connection is absent or has not completed its handshake. */ Unknown = "unknown", Supported = "supported", Unsupported = "unsupported" } /** * Whether {@link IAgentConnection.openTcpConnection} can succeed on a * connection: the host advertises TCP and the transport preserves the message * sizes windowed delivery relies on (relay transports do not). */ export declare function getAgentHostTcpSupport(connection: IAgentConnection | undefined, reader: IReader | undefined): AgentHostTcpSupport;