import type { RuntimeConnectionTarget, RuntimeHost, RuntimeListenEndpoint, RuntimeListenableServer, RuntimePortAllocationOptions, RuntimePorts, RuntimeTransport, RuntimeTransportPreference } from '../types'; export declare class NodeRuntimeHost implements RuntimeHost { readonly name = "node"; resolveTransport(preference?: RuntimeTransportPreference): RuntimeTransport; allocatePorts(options?: RuntimePortAllocationOptions): Promise; createListenEndpoint(options: { port?: number; host?: string; socketPath?: string; }): RuntimeListenEndpoint; formatListenEndpoint(endpoint: RuntimeListenEndpoint): string; listen(server: RuntimeListenableServer, endpoint: RuntimeListenEndpoint): Promise; close(server: RuntimeListenableServer, endpoint?: RuntimeListenEndpoint): Promise; waitForPortReady(port: number, host?: string, timeoutMs?: number): Promise; isConnectionTargetReady(target: RuntimeConnectionTarget, timeoutMs?: number): Promise; registerSocketOrigins(origin: string, socketPath: string): () => Promise; cleanupSocketPath(socketPath: string): void; private waitForSocketReady; private waitForTcpProbe; } export declare const nodeRuntimeHost: NodeRuntimeHost;