import type { Runtime, SocketAdapter, TLSOptions } from "./core/types.js"; /** Detect the current JavaScript runtime. */ export declare function detectRuntime(): Runtime; /** * Dynamically import and instantiate the correct adapter for the current runtime. */ export declare function createDefaultAdapter(options?: { secure?: boolean; connectionTimeout?: number; tls?: TLSOptions; }): Promise;