/**
 * URL Utilities
 *
 * Derives HTTP and WebSocket URLs from a single server URL.
 */
export interface DerivedUrls {
    httpUrl: string;
    wsUrl: string;
}
/**
 * Derive both HTTP and WebSocket URLs from a single server URL.
 *
 * Examples:
 *   http://localhost:3112  → { httpUrl: 'http://localhost:3112', wsUrl: 'ws://localhost:3112/ws' }
 *   https://api.example.com → { httpUrl: 'https://api.example.com', wsUrl: 'wss://api.example.com/ws' }
 *   ws://localhost:3112/ws → { httpUrl: 'http://localhost:3112', wsUrl: 'ws://localhost:3112/ws' }
 */
export declare function deriveUrls(serverUrl: string): DerivedUrls;
/**
 * Returns true if the URL points to a remote server (not localhost).
 * Used to decide whether to skip the health check before connecting.
 */
export declare function isRemoteUrl(url: string): boolean;
//# sourceMappingURL=url.d.ts.map