export type WebSocketAddress = { host: string; port: number | null; }; /** * Liberally parses a URL into its components and returns * null for a component if it is not present or invalid */ export declare function parseUrl(url: string): { protocol: string | null; hostname: string | null; port: number | null; }; /** * Format web socket address into a string */ export declare function formatWebSocketAddress(address: WebSocketAddress | null): string | null; /** * Format web socket address into a string */ export declare function formatFullWebSocketAddress(address: WebSocketAddress): string; //# sourceMappingURL=url.d.ts.map